Commit graph

234 commits

Author SHA1 Message Date
ceriel ce71090da3 Fixed problem with -I option 1990-09-27 17:50:52 +00:00
dick 0e90ae224a clean-up code generation suppression for lint 1990-09-18 14:29:42 +00:00
ceriel 49fd9f9377 'x(x) int x; { }' was not accepted 1990-09-12 17:32:31 +00:00
ceriel 266d247470 fixed -I option 1990-06-28 18:06:16 +00:00
ceriel 020e6311fb use own version of assert (ASSERT) 1990-06-06 16:54:30 +00:00
ceriel dd3d0777c7 dependencies 1990-06-06 16:23:47 +00:00
ceriel 280d7a79be change flag -s to -i 1990-06-06 16:00:28 +00:00
ceriel 4d7ba75469 removed useless #ifdef 1990-06-06 15:35:33 +00:00
ceriel bf66a6ade1 Added dependency generator 1990-06-06 14:42:53 +00:00
ceriel 2782412b59 Fix: did generate wrong code for 'if (x && 0) ...' 1990-03-29 11:19:36 +00:00
ceriel 63e64680bd Added some code to reverse evaluation order of assignment operators when possible 1990-02-28 12:18:36 +00:00
ceriel f17b176ddd Fixed problem with anonymous structure tags 1990-02-27 15:45:09 +00:00
ceriel 29152cbf74 two fixes to the lint part: unsigned constant compares, and initializations in switch headers 1990-02-26 11:35:15 +00:00
ceriel ebbda9ae11 bug fix with many -I options 1990-01-26 12:00:35 +00:00
ceriel f6c7b7bbcd changed some variables from arith to int 1989-11-21 11:37:10 +00:00
ceriel cf4c99a093 fixed line number after line directives 1989-11-21 11:33:21 +00:00
ceriel c4ca7db14f improved #line handling 1989-11-17 14:53:05 +00:00
ceriel cde3638bc9 improved for EOF handling 1989-11-17 11:40:48 +00:00
ceriel a43e504fb1 fixed error messages by allowing more than one "simultaneous" symbol2str 1989-11-17 11:31:05 +00:00
dick ba7100a4c2 wrong Makefile committed at 1.209 1989-11-07 13:04:39 +00:00
dick 787904f82c restrained error messages for lint + misc. 1989-11-02 18:17:59 +00:00
ceriel 2db075ab69 fixed memory fault, adapted mechanism code_scope 1989-11-01 15:41:06 +00:00
dick a817264e90 better (more restrained) error reporting 1989-10-30 16:19:35 +00:00
ceriel 44ff24f085 Also recognize 'defined' without parentheses 1989-10-25 14:23:08 +00:00
ceriel 788788edc0 improvements for the , (comma) operator 1989-10-23 13:45:19 +00:00
ceriel 9c403e7299 Added mechanism to make peephole optimizer version bigger (needed for SUN-3) 1989-10-18 11:39:19 +00:00
eck 46fb868503 introduced TABGEN variable 1989-10-17 11:35:13 +00:00
ceriel 155d41c3e0 Added mechanism for generating fast compilers 1989-10-13 09:25:21 +00:00
dick 2364f3f6b0 some small corrections in the lint part 1989-10-10 11:21:55 +00:00
ceriel 8c9c04b549 fix to bitfield code: contained non-portable shift 1989-10-09 13:42:39 +00:00
ceriel e52091ea7c Added l_comment.h to .distr file, fixed problem with #
occurring between macro name and arguments
1989-08-21 10:58:24 +00:00
ceriel b1347283b9 Added warning for initializer of formal parameter (the syntax allows this!) 1989-08-02 11:26:51 +00:00
ceriel 47955d174e fixed typo 1989-08-02 09:47:27 +00:00
ceriel 5f35d0c644 fixed behaviour on too long floating point constants 1989-07-26 11:16:59 +00:00
ceriel 09a52b8cf2 fixed a problem with recursive macros: this was not always detected 1989-07-14 09:51:02 +00:00
ceriel 1b08effa77 Added some %persistents, improved behaviour of preprocessor, and other
minor mods
1989-07-11 12:34:38 +00:00
ceriel b1c3d1bc53 fixed problem with void returns and changed a warning somewhat 1989-06-15 19:06:56 +00:00
ceriel cc3459e5a8 fix to constant unary minus 1989-05-31 12:42:56 +00:00
ceriel aa0e321971 some fixes 1989-05-29 11:32:23 +00:00
ceriel 7a7d0e413b recognize but ignore #pragma 1989-03-31 11:47:12 +00:00
dick 1d0b3910b2 more lint code 1989-03-06 15:17:39 +00:00
ceriel b1626ca895 try to move side effects as much as possible to the left of the
expression tree, to avoid stacking. This is not good enough yet!
1989-02-22 16:16:08 +00:00
ceriel 00ac6f88a7 empty string in directory list now means current directory 1989-02-16 11:18:44 +00:00
ceriel 4629647d78 fixed wrong count in popping parameters 1989-02-14 14:10:31 +00:00
ceriel c3f7993b1a fixed problem in sizeof() 1989-02-06 19:06:55 +00:00
dick f70dfe4d00 better evaluation order checking in expressions 1989-02-02 13:57:07 +00:00
ceriel 5e14dddb6c fix in compile time int2float conversion 1989-01-23 16:52:22 +00:00
ceriel cc55ab947d evaluate switch-expression on a different spot,
allow for *STRING expressions
1989-01-23 15:37:57 +00:00
ceriel f4caec88e8 use C_con_cst instead of C_con_icon when possible;
fix sizeof(string) to return the size of the string instead of the size of
a pointer
1988-12-12 14:21:45 +00:00
ceriel 15377abec5 Fix from Lindsey: changed CURRDIR mechanism to make it work on SunOs 4.0 1988-11-24 11:29:14 +00:00