Commit graph

299 commits

Author SHA1 Message Date
ceriel 20a7f7b188 improved installation mechanism 1991-10-14 09:18:33 +00:00
ceriel 24a353f3e1 Did shift of 32. Not allowed 1991-10-02 13:41:33 +00:00
ceriel 7551b8e83a Changes to manual page 1991-10-01 12:18:39 +00:00
ceriel daa7aef683 Removed LintPars 1991-10-01 09:54:42 +00:00
ceriel 8d25f69e77 Fix: sometimes crashed on initializers for unknown types 1991-09-30 15:00:46 +00:00
ceriel 4d7339bb60 Fixed proto.make 1991-09-13 12:01:42 +00:00
ceriel a8cb5cbe86 Fixed proto.make 1991-09-13 10:29:06 +00:00
ceriel 8981100964 New installation mechanism 1991-08-26 15:18:31 +00:00
dick a0460b8bfc compatibility change in l_class.h for prototypes in ANSI C 1991-07-05 11:33:49 +00:00
ceriel 82b3ae254c Added -S flag 1991-03-05 17:52:37 +00:00
ceriel bb31795d33 removed -i flag 1991-02-20 09:48:36 +00:00
ceriel 631f40cb1a Regenerated dependencies 1990-12-18 14:29:04 +00:00
dick 0cc8f53eec added dummy definition of C_ms_err 1990-12-14 14:42:20 +00:00
dick 65bf3591a7 adapted to integration into cemcom.ansi 1990-12-06 14:56:42 +00:00
dick d443d61b09 improved error messages 1990-11-19 14:14:12 +00:00
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
ceriel 6ac798b50c removed tab.c, use tabgen 1988-11-16 11:23:58 +00:00
dick 4ed20925c6 lint: printf testing and FORMATs 1988-11-03 15:18:46 +00:00
dick 7267917050 foute declaratie van sprint() 1988-11-03 14:59:47 +00:00
dick 190ea14bbf lint: retrieving string arguments from str_list 1988-11-03 13:20:27 +00:00
ceriel 3bb19b6e7d Added code-expander library 1988-10-31 14:17:17 +00:00
ceriel b5083a9ccf inline substitution of strcmp: was called many times! 1988-10-31 14:10:39 +00:00
ceriel 4f11f3c3fd fixed bug in preprocessor part:
#define aap(a) a did not work if the actual argument was spread over
multiple lines
1988-10-31 14:10:00 +00:00
dick e66f3adc06 formats introduced in lint 1988-10-12 16:05:17 +00:00
ceriel 6b7a135b2b Coercion from int to float is now always done compile time 1988-10-03 10:09:19 +00:00
dick 4cecb6bffb wrong Makefile committed 1988-09-30 16:49:02 +00:00
dick ff682c0cfc testing enums in switches/cases 1988-09-30 16:43:04 +00:00
dick 4f8b2e9926 lint: additional type tests in expressions 1988-09-29 15:24:02 +00:00
dick acf34e54ec crash() replaced by ASSERT() & NOTREACHED() in lint 1988-09-26 11:37:38 +00:00
dick 3d549e7932 reorganisation of lint code 1988-09-25 17:29:37 +00:00
ceriel 9435c895bf Added l_ files to .distr 1988-09-21 13:32:24 +00:00
ceriel b52e0e8ff1 fixed l_dummy.c to also work for the C-compiler,
added lint.h to BigPars and SmallPars,
and added stuff for CODE_EXPANDER and PEEPHOLE to Makefile
1988-09-21 11:48:29 +00:00
dick 6839d8afb1 introduction of lint source code, governed by ifdef LINT 1988-09-20 16:44:27 +00:00
dick 1f7115fa8d error messages and error handling 1988-09-16 23:19:50 +00:00
dick 32e5679d6c filename and linenumber info in more places 1988-08-29 15:51:48 +00:00
dick 61b8c3e9ec more modifications due to lint 1988-08-23 12:45:11 +00:00
dick 1a6665e21d initial small modifications for lint 1988-08-19 13:55:22 +00:00
ceriel e6d132830a fix: line number administration wrong in scan.c 1988-08-09 14:07:39 +00:00
ceriel 2c413b9455 makefile --> Makefile 1988-08-08 18:03:12 +00:00
ceriel 28d39e927b fixed problem with 'if (array)' 1988-08-04 14:37:06 +00:00
ceriel 0768c4d4f1 fix to fix 1988-07-29 19:22:48 +00:00
ceriel 87c8b648fc fix in preprocessor part: macro invocation with parameterlist on the
next line did not work
1988-07-29 18:38:25 +00:00
ceriel 75d52f0a3e corrected Makefiles 1988-07-28 08:37:37 +00:00
ceriel 84acaa1163 distribute Makefile 1988-07-26 19:08:46 +00:00
ceriel 20e2452350 updated dependencies 1988-07-11 19:22:19 +00:00
ceriel 6d7522ba44 fixes for Xenix 1988-07-11 13:24:32 +00:00
ceriel 778baeb2c0 fixes for Xenix 1988-07-11 13:18:43 +00:00
ceriel cd54a85aec updated dependencies 1988-07-11 12:57:24 +00:00
ceriel 3aabba530d fixes for Xenix 1988-07-11 12:53:01 +00:00
ceriel d1a390924f we were lucky, but - indicates a range; corrected 1988-07-08 10:29:48 +00:00
ceriel 8fc459e811 fix: was wrong with constants causing overflow 1988-07-07 15:02:47 +00:00