Commit graph

1462 commits

Author SHA1 Message Date
ceriel 68cebfb733 do not allow ',' as separator in parameter declarations; this results in bad C-code 1994-12-20 12:47:48 +00:00
ceriel 7393f8923c Many changes:
- added some data flow stuff
- many cosmetic changes
1994-12-06 09:12:21 +00:00
ceriel ef0ecb31b2 Fix: sometimes produced branch to non-existing label 1994-11-29 14:53:02 +00:00
ceriel 33da68f7e2 made statbuf static, so that is is zero when not initialized 1994-11-14 12:34:50 +00:00
ceriel a1a816ddc2 Avoid some empty if- and else- parts. gcc -Wall does not like it 1994-10-20 12:43:35 +00:00
ceriel 4851c0c9f3 Fine tuning of some patterns 1994-10-19 14:09:26 +00:00
ceriel f54d79e41a removed un-used variable 1994-07-06 08:34:27 +00:00
ceriel 5c83e7dbb5 Header --> Id 1994-06-24 11:31:16 +00:00
ceriel 11f3094b51 Fix: forgot to initialize malloced mem 1994-06-23 10:00:01 +00:00
ceriel 2b54fa3a19 Fix: also redefine LLsafeerror 1994-06-23 09:58:30 +00:00
ceriel 656fb00e9b Fix: error recovery sometimes skipped tokens it needed later on 1994-04-19 09:38:00 +00:00
ceriel 958aced01b Generate octal char constants instead of ints for LLsets 1994-04-12 13:53:38 +00:00
ceriel 8a670148e4 changed Header to Id 1994-03-11 10:37:39 +00:00
ceriel 805a0a4b66 Added -DNDEBUG to compilation flags 1994-02-25 14:14:55 +00:00
ceriel af0e9371e9 call abort() only when NDEBUG is not defined 1994-02-25 14:01:54 +00:00
ceriel 67c750a70c Improved CSA some more 1993-11-24 12:39:19 +00:00
ceriel 862f5da86d use 0xFFFF mask for printing shorts, and work around gcc 2.4.5 bug 1993-11-18 15:35:03 +00:00
ceriel 90134a3bea Some minor changes 1993-11-17 10:25:17 +00:00
ceriel cc61337a9f signal, second arg is void function 1993-11-16 12:03:22 +00:00
ceriel 0c60f4c22f Fixed several lint complaints 1993-11-16 11:35:23 +00:00
ceriel 9fbd4783a7 Fixed bug with "/*" 1993-11-15 09:29:39 +00:00
ceriel 49f8a5a61b Fixed some minor problems 1993-11-12 16:59:06 +00:00
ceriel a4a2ae8f96 catch is a signal arg, and should be void catch() 1993-11-12 16:57:15 +00:00
ceriel 03405742a3 noodstop is a signal arg, and should be void noodstop() 1993-11-12 16:53:24 +00:00
ceriel 332b6cb337 Minor changes: gave double def of __ctype with gcc on solaris 2 1993-11-12 15:16:08 +00:00
ceriel 990bf1ac74 onintr must be void 1993-11-12 12:53:28 +00:00
ceriel b95ae2fa70 Many changes, mostly for Solaris 2 1993-11-10 15:11:28 +00:00
ceriel 4539174f47 Added -DNDEBUG to compile flags 1993-11-10 15:07:55 +00:00
ceriel 9dae71ae08 Updated for C_ prototypes 1993-11-10 15:07:12 +00:00
ceriel 854597cd2d Updated for C_ prototypes 1993-11-10 14:40:27 +00:00
ceriel 7c473ca0ed Added -DNDEBUG to compile flags 1993-11-10 14:38:32 +00:00
ceriel 528112d9bd Bug fix for dlb routines and C_ are now void 1993-11-10 14:22:26 +00:00
ceriel 4f3e07061e Added -DNDEBUG to compile flags 1993-11-10 14:21:21 +00:00
ceriel 8c849f20f7 Fix: CSA was not quite right 1993-11-10 13:00:01 +00:00
ceriel f33df43f9a Fix: had array bound error 1993-11-10 12:58:26 +00:00
ceriel c9ec055176 Define NDEBUG if you don't want assertions 1993-10-22 14:30:43 +00:00
ceriel 4f2c705501 Some more space for file names 1993-10-12 09:45:59 +00:00
ceriel 549dfcc99d Fixed: functions were implicitly declared extern and later static 1993-10-07 17:47:26 +00:00
ceriel 38a269fc37 Added sparc_solaris 1993-10-07 17:41:19 +00:00
ceriel 2233b6973b Several fixes; ported to Solaris 2 1993-10-06 11:45:13 +00:00
ceriel 18967fad9a Fixed make.hfiles; some "shells" did not accept it 1993-08-05 13:00:40 +00:00
ceriel 042d7b2275 Improved 'stop in' mechanism, and prevent core dump ir currlang is not set 1993-06-09 14:18:43 +00:00
ceriel 40569c479e Mention filename for some error messages 1993-06-08 13:02:01 +00:00
ceriel 7e30c7d648 Fixed for empty parameter lists 1993-05-10 14:02:52 +00:00
ceriel 04d3c7152c Changed order of declarations 1993-02-05 18:21:46 +00:00
ceriel 256151c7e4 Added some patterns and fixed error in constant multiplication 1993-02-03 10:10:07 +00:00
ceriel fd0bc5d531 Fix in tes mechanism: CAL and CAI 1993-01-12 15:48:39 +00:00
ceriel 2361e37811 Fix: used data from freed memory 1992-12-08 17:44:01 +00:00
ceriel ca4461dc4c Added LL_MAXTOKNO 1992-11-19 15:37:52 +00:00
ceriel 6896679afd Added some patterns involving DUPs 1992-09-01 11:16:20 +00:00
ceriel af5ad235c9 Small change in register allocation criteria 1992-09-01 11:13:42 +00:00
ceriel ee6d91a1d4 Fix for sparc description 1992-09-01 10:41:37 +00:00
ceriel 0eb2e0dc80 Fix previous 'fix' 1992-07-23 11:51:39 +00:00
ceriel a56e1f25ff Was wrong when compiled with ANSI compiler 1992-07-22 13:49:15 +00:00
ceriel 016273ba99 And some more ... 1992-07-22 13:45:08 +00:00
ceriel 4adaf3165f Added some patterns 1992-07-22 13:37:27 +00:00
ceriel 7c7475bb3a fixed lint complaint 1992-07-21 14:40:23 +00:00
ceriel 938bbb9ce8 Fix evaluation order problem 1992-07-21 11:23:24 +00:00
ceriel 8ab530baef Fixed bug in UCFLAGS 1992-07-13 10:28:08 +00:00
ceriel d58d691472 Fixed V7 and SYS_V utime problem 1992-07-10 15:22:01 +00:00
ceriel 80f5ecf637 strip did not truncate file 1992-07-09 14:02:43 +00:00
ceriel 0b063462ef Improved N_SOL handling 1992-07-02 11:15:18 +00:00
ceriel 45d0d9f68f Removed # in commands 1992-06-26 12:54:57 +00:00
ceriel 44a1c5620c Removed # in commands, changed mechanism for computing mem used 1992-06-26 12:47:07 +00:00
ceriel 50e8baa624 Removed # in commands, removed call to _cleanup() 1992-06-26 12:42:31 +00:00
ceriel 06e487359b Changed mechanism for coputing amount of memory used 1992-06-26 12:38:10 +00:00
ceriel aba0ed2f52 Made a declaration a little less suspicious, and removed # from proto.make 1992-06-25 17:41:51 +00:00
ceriel 2cb19d3a30 Corrected problem in reading symbol table: t14=15, t15=16 did not work properly 1992-05-20 10:57:42 +00:00
ceriel bc42e31518 Fixed problem with repl_mul(); it was called far too often 1992-04-24 12:39:58 +00:00
ceriel fe0a904894 Corrected manual pages 1992-04-23 12:53:03 +00:00
ceriel b4f6c3fa00 Documented -gdb flag 1992-04-15 10:24:15 +00:00
ceriel a0aa85fa4e fixed linting 1992-03-02 16:47:03 +00:00
ceriel a6a1b1d3d0 initialize inctable better 1992-02-26 13:38:34 +00:00
ceriel 0bfa4970c5 Added i386 description 1992-02-11 16:59:43 +00:00
ceriel 646bd0e51f small fix for compatibility with different make's 1992-01-22 11:25:52 +00:00
ceriel 56ab70f21f Added dbsym.c 1991-12-19 09:30:53 +00:00
ceriel 47a6b4b526 Ported to 80386 (problem: different read() semantics) 1991-12-18 14:36:26 +00:00
ceriel 12149f5858 Added pop_push.h 1991-12-18 09:47:19 +00:00
ceriel 70b535c368 No longer use ushort 1991-12-18 09:45:26 +00:00
ceriel de758867f8 Fixed typo in previous fix 1991-12-18 09:14:25 +00:00
ceriel 168634cd0b Do not use '#endif/#else xxx'; it is not allowed for ANSI C 1991-12-17 15:49:18 +00:00
ceriel df1ed9426d Do not use '#endif/#else xxx'; it is not allowed for ANSI C 1991-12-17 15:28:58 +00:00
ceriel f30ffd415c Changed order in ceg/list 1991-12-16 16:06:29 +00:00
ceriel c6f6df87ae Improved installation of make_ files 1991-12-16 15:35:14 +00:00
ceriel 80b250950e Do not use '#undef aap xxx'; it is not allowed for ANSI C 1991-12-16 14:34:06 +00:00
ceriel d20534521e be consistent in naming of itemtab.h 1991-12-12 16:02:59 +00:00
ceriel 8394d5a4e1 Added 'extern' 1991-12-12 16:01:46 +00:00
ceriel b0e631d402 Fixed comment 1991-12-12 13:01:00 +00:00
ceriel a93813c1f6 Made acceptable for our ANSI C compiler 1991-12-03 11:03:58 +00:00
ceriel 9e2361fc8f bug fix in generating prototypes 1991-12-03 10:56:40 +00:00
ceriel c36ae7020f Fixed for ANSI-C part 1991-12-02 15:25:01 +00:00
ceriel 7ec968fb03 Always also produce ANSI-C, depending on __STDC__ and __cplusplus 1991-12-02 09:15:04 +00:00
ceriel ec47c06ad7 bug fix in repl_mul and moved call to it so that it is done after pattern matching 1991-11-28 16:59:25 +00:00
ceriel 505494c560 Improved for lint 1991-11-27 13:38:51 +00:00
ceriel 35260bae58 produce ANSI C under -a option 1991-11-26 15:38:41 +00:00
ceriel ca89734a36 Another minor change in manual page 1991-11-25 09:41:30 +00:00
ceriel e0956f63db Minor change in manual page 1991-11-25 09:39:31 +00:00
ceriel 698130c4e2 removed makedepend 1991-11-23 12:43:11 +00:00
ceriel 3a2211512d Removed makedepend 1991-11-23 12:26:02 +00:00
ceriel aa702fa855 Bug fix in multiplication optimization 1991-11-23 12:17:18 +00:00
ceriel 6fa0e5bfb0 Changed copyright notice, made installation less dependent on ACK 1991-11-23 10:41:43 +00:00
ceriel 2b6f5b9b8d Avoid use of 'you' 1991-11-22 13:18:57 +00:00
ceriel 2291dff954 updated manual page 1991-11-20 16:45:25 +00:00
ceriel 17352b8b8d Added code to optimize multiplies with constants 1991-11-20 15:53:11 +00:00
ceriel e9a6af1a42 anm also works on aal archives now 1991-11-18 09:46:53 +00:00
ceriel 839165633b Fixed manual page 1991-11-15 14:41:41 +00:00
ceriel 9c507cc10a Updated ack manual page 1991-11-15 13:37:36 +00:00
ceriel 1af5c80b1b Also preprocess when user explicitly askes for it through -c.i 1991-11-15 12:50:13 +00:00
ceriel eac501941f '\v' is not a K&R character 1991-11-07 09:45:09 +00:00
ceriel 650a132457 Fixed typo 1991-11-07 09:39:30 +00:00
ceriel 17014578be Also remove scan.c on cleanup 1991-11-07 09:35:35 +00:00
ceriel 791246001f '\v' is not a K&R character 1991-11-07 09:34:02 +00:00
ceriel 2e58c2438f '\v' is not K&R C 1991-11-06 14:36:25 +00:00
ceriel 4e99d889ff Changed manual page installation mechanism 1991-11-05 15:31:14 +00:00
ceriel 3da953fa85 Added grind support 1991-11-01 11:53:42 +00:00
ceriel 03e1bea097 Added some tests and changed ordering mechanism 1991-11-01 10:37:26 +00:00
ceriel 0633c900a8 Some fixes to ashow, and also install it 1991-10-31 11:04:02 +00:00
ceriel 0b32f6d32f prevent null reference 1991-10-31 10:01:34 +00:00
ceriel 35dc8e74d0 Improved lint entry 1991-10-29 09:26:01 +00:00
ceriel d747702ae9 Corrected lintlib entry 1991-10-29 09:24:48 +00:00
ceriel 7213f2527b Pass COPTIONS, not CFLAGS 1991-10-25 15:23:01 +00:00
ceriel 69026d6c17 Bug fix: used field of freed struct 1991-10-25 14:27:59 +00:00
ceriel 49a64df069 do not depend on sys/wait.h, it does not always exist 1991-10-25 11:18:29 +00:00
ceriel 4daf59e3d2 Made more portable by not depending on a.out.h file 1991-10-22 13:31:36 +00:00
ceriel 0c8514a9ed NSIG is not always defined 1991-10-22 09:07:31 +00:00
ceriel 1bde03203a Fixed typo 1991-10-21 14:17:32 +00:00
ceriel 615e30bdd4 Added compilation rule for scan.c 1991-10-21 14:13:29 +00:00
ceriel 51f8a3b798 cleanup better 1991-10-21 13:59:48 +00:00
ceriel e8d165a4a6 cleanup better 1991-10-21 13:26:50 +00:00
ceriel 80293fbc82 Make target writable 1991-10-18 10:07:38 +00:00
ceriel 96893d0092 Make targets writable 1991-10-18 09:58:52 +00:00
ceriel 147bb196b2 generate Version.c 1991-10-16 13:07:28 +00:00
ceriel 43248fb244 improved installation mechanism 1991-10-14 11:39:24 +00:00
ceriel 33ec8e07ed improved installation mechanism 1991-10-14 09:38:04 +00:00
ceriel da6ac05990 Updated 1991-10-14 09:33:55 +00:00
ceriel 20a7f7b188 improved installation mechanism 1991-10-14 09:18:33 +00:00
ceriel 64eacb4c9f Do not install lintlib by default: maybe lint is not installed yet 1991-10-09 19:12:52 +00:00
ceriel df3ae6c2fb Updated 1991-10-08 10:04:53 +00:00
ceriel 0d055f2272 Added some patterns 1991-10-04 11:10:07 +00:00
ceriel 2b7aae3b44 Added support for volatile 1991-10-02 13:03:31 +00:00
ceriel a28c551213 ip_spec.h is moved 1991-10-01 17:37:21 +00:00
ceriel fe6cddde09 Moved ip_spec.h to h directory 1991-10-01 16:24:49 +00:00
ceriel 7551b8e83a Changes to manual page 1991-10-01 12:18:39 +00:00
ceriel 3e17bc4188 Hidden name 'not_implemented' 1991-09-30 09:26:09 +00:00
ceriel 3a0c4d8704 Adapted for SPARC. LBRAC not reliable 1991-09-27 14:58:30 +00:00
ceriel 90279a0a36 Also include back.h 1991-09-26 12:55:43 +00:00
ceriel c17ce93d9e Several fixes 1991-09-25 10:30:45 +00:00
ceriel 8661cdb40b Added {} around generated for-loop 1991-09-25 10:29:00 +00:00
ceriel 571ad3216b Fixed proto.make 1991-09-20 10:39:07 +00:00
ceriel 717cfbd921 improved test entries 1991-09-18 19:39:02 +00:00