Commit graph

1483 commits

Author SHA1 Message Date
dtrg
685e85002e Rearranged the algorithm in get_text() to fix a memory overrun. 2006-07-21 09:28:36 +00:00
dtrg
097c640a6c First version in CVS. 2006-07-20 23:24:28 +00:00
dtrg
22db34a460 Fixed revision history. 2006-07-20 23:10:07 +00:00
dtrg
cf461cd82f First version in CVS. 2006-07-20 23:04:28 +00:00
dtrg
35f2f8b043 Rationalised use of #includes to be more standards-compliant. 2006-07-20 23:04:15 +00:00
dtrg
cf4417431f Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells don't like scripts to be without it.) 2006-07-20 23:02:37 +00:00
dtrg
6717b9e700 Changed configuration to now use malloc()/free() rather than sbrk(). 2006-07-20 22:59:25 +00:00
dtrg
db11db0cac Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells don't like scripts to be without it.) 2006-07-19 14:09:25 +00:00
dtrg
6073ee934e Rationalised use of #includes to be more standards-compliant. 2006-07-19 14:09:05 +00:00
dtrg
57084134e5 Modified to no longer build LLgen, as it is now distributed seperately. 2006-07-18 17:34:30 +00:00
dtrg
d722986e66 Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells don't like scripts to be without it.) 2006-07-18 17:20:46 +00:00
dtrg
1ed24cab9b No longer generates zero bytes in the script's output file. 2006-07-18 17:20:05 +00:00
dtrg
9ca41cf4b6 Worked around unput() not being strictly legal in the tail code section of a yacc input file. 2006-07-18 17:19:20 +00:00
dtrg
cd09c29949 Rationalised use of #includes to be more standards-compliant. 2006-07-18 17:18:42 +00:00
dtrg
f5bbc20093 Removed unnecessary commas seperating yacc tokens, to prevent warnings. 2006-07-18 17:17:14 +00:00
dtrg
4c0a0e6119 Rationalised use of #includes to be more standards-compliant. 2006-07-18 17:10:29 +00:00
dtrg
8ea67498ed Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells don't like scripts to be without it.) 2006-07-18 17:10:18 +00:00
dtrg
e864bf235e Split LLgen off to be self-contained, and not necessarily part of the ACK. Replaced its build system with one based on pm. Rewrote the README. Updated the license text to match the overriding license common to all the ACK. 2006-02-04 00:57:04 +00:00
dtrg
953a565a10 Moved LLgen documentation from the main ACK documentation directory into LLgen's own documentation directory. 2006-02-04 00:43:32 +00:00
dtrg
dd57d79b1b Modernised usage of system header files. 2006-02-04 00:37:19 +00:00
dtrg
71a92846dd Modernised usage of system header files. 2006-02-03 22:23:37 +00:00
dtrg
c39e85da63 Modernised usage of system header files. Changed the patch buffer (which allowed the library path to be modified with a hex editor) to an environment variable instead. 2006-02-03 22:23:11 +00:00
dtrg
4c0b3bb40f Modernised usage of system header files. 2006-01-24 22:29:19 +00:00
cjhjacobs
26889d3762 Fix: did not deal with quotes in macro definitions properly 2005-06-30 16:54:15 +00:00
dtrg
4ed4d8423f Added some prototyping to stop a compile error with gcc 4. 2005-06-25 13:49:06 +00:00
dtrg
f2046954e6 Cleaned up the struct sgtty workaround and made it more generic. 2005-06-24 22:11:27 +00:00
dtrg
779fe568fc Removed an assumption that 'stdin' is a constant, which it's not on Linux. (You can't use it as an initialiser when declaring a global variable.) 2005-06-24 22:10:24 +00:00
dtrg
9bc8c07deb Replaced references to /usr/tmp with references to /tmp. 2005-06-24 22:08:47 +00:00
dtrg
70ef6fe52e Applied interim patches to make the interpreter compile on Linux. (Linux doesn't support struct sgtty; all this code should probably be rewritten to use termios instead, if I've understood it correctly.) 2005-06-24 21:42:11 +00:00
ceriel
8f69a0ca44 Fix 2002-09-11 13:32:57 +00:00
ceriel
1e32788ad1 Added missing files to .distr 2002-09-11 13:17:00 +00:00
ceriel
053ba2d164 ... 2002-09-10 13:40:14 +00:00
ceriel
ee2c7069e4 Prevent double fclose 2002-08-26 14:27:15 +00:00
ceriel
4556d261d8 ??? 2002-04-04 12:33:15 +00:00
ceriel
55dbc99000 Updated copyright 1999-04-23 14:15:43 +00:00
ceriel
6ca98e7102 Adapted copyright notice 1999-03-18 15:34:27 +00:00
ceriel
f0a7a313fc Fix: did not always produce error message 1998-11-10 14:26:06 +00:00
ceriel
d6e0e461f7 Corrected Makefile 1997-09-04 15:49:46 +00:00
ceriel
f8fd2aa273 Removed superfluous ; 1997-06-16 13:07:37 +00:00
ceriel
e38b178317 Many modifications, mostly in comment 1997-05-15 12:03:05 +00:00
ceriel
cebde164bb Prevent warning about unused labels 1997-04-02 10:42:06 +00:00
ceriel
8ea5d257c4 improved error reporting, added -DNON_CORRECTING 1997-02-21 15:44:44 +00:00
ceriel
664d3fc8d3 some minor fixes 1997-02-21 15:44:10 +00:00
ceriel
13fea7102b Updated 1997-02-21 12:23:04 +00:00
ceriel
c2607fdf0f Added non-correcting error recovery stuff 1997-02-21 11:27:57 +00:00
ceriel
a44875cf00 bug fix: code referred to token attribute of wrong token! 1997-02-17 15:14:55 +00:00
ceriel
56033dc0c1 Added -n flag 1996-11-21 10:14:26 +00:00
ceriel
a44bbb3977 Fixed a couple of minor bugs 1996-11-19 13:27:56 +00:00
ceriel
150db958da Fixed typo 1996-10-22 14:34:16 +00:00
ceriel
4baa1312a8 removed 1995-12-06 14:15:11 +00:00
ceriel
cdb362b628 removed 1995-12-06 14:04:51 +00:00
ceriel
550095a5d0 Removed Version.c 1995-12-06 09:52:54 +00:00
ceriel
2985469116 Fix: wrong offsets for locals when < -32768, installation error for 'show' 1995-11-08 11:09:14 +00:00
ceriel
c1738933d7 Fix: wrong offsets for locals when < -32768 1995-11-08 11:08:09 +00:00
ceriel
a8b1f8e347 Header file was included twice 1995-11-01 15:59:33 +00:00
ceriel
b9a67e72ca use stdarg when compiling with ANSI C compiler 1995-08-18 07:26:18 +00:00
ceriel
1aa9149ff9 Changed for sparc_solarisdescr 1995-08-18 07:24:18 +00:00
ceriel
c3855160fb use stdarg when compiling with ANSI C compiler 1995-08-17 14:36:05 +00:00
ceriel
acdb874527 use stdarg when compiling with ANSI C compiler, and some other minor changes 1995-08-17 13:33:55 +00:00
ceriel
32bcf11ab9 Re-ordered for incompatible Linux shell 1995-08-15 14:59:28 +00:00
ceriel
f8cbcf1b4f Don't use SIGEMT; it is not portable 1995-08-15 09:10:39 +00:00
ceriel
f8d6337862 'ed -' is no longer supported by some systems. Use 'ed -s' 1995-08-14 15:09:59 +00:00
ceriel
f34bf4b487 removed dependency on /usr/include/varargs.h 1995-08-14 15:08:46 +00:00
ceriel
525eb1f1a4 Fixed typo 1995-07-31 09:17:14 +00:00
ceriel
7b6d8fbe56 Added copyright notice 1995-07-31 09:10:42 +00:00
ceriel
c9153e6b9b Set B_busy 1995-07-25 16:49:15 +00:00
ceriel
3883860106 Added Posix names 1995-06-28 09:46:39 +00:00
ceriel
32c692d93b Use TARGETHOME for manual page 1995-03-17 14:11:47 +00:00
ceriel
911b0a43d8 Fix: never replace LAR/SAR by AAR LOI/STI if descriptor is not in ROM 1995-03-17 12:32:47 +00:00
ceriel
d5505f2f02 Also create sparc_solarisdescr 1995-03-17 11:00:29 +00:00
ceriel
d1435f4fc6 Added an option to strip the grammar from its actions 1995-02-24 12:10:44 +00:00
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