Commit graph

20 commits

Author SHA1 Message Date
George Koehler ca4bd38206 Delete old "assert.h" files; use libc <assert.h>.
Edit build.lua for programs losing their private assert.h, so they
depend on a list of .h files excluding assert.h.

Remove modules/src/assert; it would be a dependency of cpp.ansi but we
didn't build it, so cpp.ansi uses the libc assert.

I hope that libc <assert.h> can better report failed assertions.  Some
old "assert.h" files didn't report the expression.  Some reported a
literal "x", because traditional C expanded the macro parameter x in
"x", but ANSI C89 doesn't expand macro parameters in string literals.
2017-11-09 22:22:13 -05:00
David Given c1aca7dae5 First milestone of replacing the build system.
--HG--
branch : dtrg-buildsystem
rename : lang/cem/cpp.ansi/Parameters => lang/cem/cpp.ansi/parameters.h
2013-05-12 20:45:55 +01:00
ceriel 8636e9d10a Changed Header into Id 1994-06-27 08:03:14 +00:00
ceriel b6ba1452f8 made symbol2str decl global 1993-11-12 15:45:09 +00:00
ceriel ba62ce0edc Added diagnostic about use of for example union tag as a struct tag 1993-01-15 12:41:15 +00:00
ceriel 50db0a3643 Fixed scope bug for structures: a(struct S *p) { struct S { int i; }; p->i ...
should work
1992-10-14 10:48:27 +00:00
ceriel 15dce0c943 Fix in "bits_in_type" variable 1992-07-22 15:44:47 +00:00
ceriel a38be6605e Do not use '#endif/#else xxx'; it is not allowed for ANSI C 1991-12-17 13:12:22 +00:00
ceriel 24a353f3e1 Did shift of 32. Not allowed 1991-10-02 13:41:33 +00:00
ceriel 240dd55fd9 Removed the id_enum macro and replaced id_struct by id_tag (better name) 1991-07-08 16:49:04 +00:00
ceriel 9f43986877 ANSI requires separate name space for labels, and made to use idf module 1991-06-19 16:12:56 +00:00
ceriel 3e16cf5116 Fix: prevent incorrect error messages 1991-03-26 09:45:20 +00:00
eck 73231e630b added error message because of declaration problems 1990-12-13 09:14:54 +00:00
eck 114048df57 ignore qualifiers when looking for sdef 1990-01-30 11:19:30 +00:00
eck b8d6eae391 fixed bug: tp_up is field in union; be more careful
give warning for struct/union declarations in prototypes
1990-01-18 16:58:53 +00:00
ceriel 01b937d82e some arith variables changed into int 1989-11-21 11:28:56 +00:00
ceriel 352c5c581b some more Minix squeezing 1989-10-20 16:16:06 +00:00
eck 00027d3893 some minor fixes, renamed ch7 stuff to ch3 1989-09-25 14:28:10 +00:00
eck fa4e6eecb4 lots and lots of changes & improvements 1989-09-19 16:13:23 +00:00
ceriel 926da49d39 Initial revision 1989-02-07 11:04:05 +00:00