Commit graph

213 commits

Author SHA1 Message Date
ceriel 4a34358b6a keep comments in actions; they may be significant (for lint) 1990-08-07 10:48:02 +00:00
ceriel e361a5777b remove LLlex #define 1990-02-07 10:53:05 +00:00
ceriel 8c6dc46124 allow for multiple parsers within one program 1990-01-29 13:51:32 +00:00
ceriel da48891d6e allow for multiple parsers within one program 1990-01-29 13:45:42 +00:00
ceriel 9ad5d4b5e0 generate ; after label 1989-11-17 13:15:48 +00:00
ceriel cf65fbe6a1 a simple optimization added 1989-10-18 09:22:47 +00:00
ceriel c6cbc82178 merged -m flag with -j flag 1989-07-17 16:40:18 +00:00
ceriel 3a3db29339 fix to fix 1989-03-07 09:26:42 +00:00
ceriel d97abb0763 avoid null-reference if some nonterminal is not defined 1989-03-06 18:48:30 +00:00
ceriel 76cb7a0b33 Added some comments 1989-02-09 15:58:34 +00:00
ceriel 2deb5cafce remove empty-producing nonterminals 1988-08-23 16:05:19 +00:00
ceriel b1712321e2 made easier to patch 1988-08-19 13:26:27 +00:00
ceriel b1dc8c8f52 fixed 1988-07-26 09:53:47 +00:00
ceriel b8b355a0a2 keap type names different from others; some compilers don't like it 1988-07-08 09:14:04 +00:00
ceriel 93c8b46781 print memory usage as unsigned 1988-07-05 14:07:19 +00:00
ceriel e35b40b793 spaces replaced by tabs 1988-07-05 14:05:24 +00:00
ceriel 849eeb9f61 handle memory better 1988-07-05 11:51:47 +00:00
ceriel 724d5ba148 use system module for system calls 1988-06-28 11:20:50 +00:00
ceriel e67a70cbea LLscan either macro or function 1988-06-24 14:55:27 +00:00
ceriel 1c801f86eb minor mod: name change 1988-06-24 14:28:13 +00:00
ceriel 123b73506d inline scan 1988-06-24 14:26:35 +00:00
ceriel 71834855e8 generate #define for LL_LEXI in every file 1988-06-24 14:21:07 +00:00
ceriel e1f7d20251 modified generation of token mapping somewhat 1988-06-24 11:48:10 +00:00
ceriel 8bdf3af20c fixed Makefile 1988-06-24 09:37:54 +00:00
ceriel d20bfe4f68 some tables are static now 1988-06-24 09:32:15 +00:00
ceriel a27fac26db hide some names 1988-06-24 09:31:28 +00:00
ceriel 416944b293 Updated to dense switches generation 1988-06-22 17:04:52 +00:00
ceriel 4934f830fc Added code to generate dense switches 1988-06-22 16:23:36 +00:00
ceriel fcafcb1700 corrected dependancy list 1988-06-16 17:04:59 +00:00
ceriel e0a4fd1989 some cosmetic changes 1988-06-16 15:06:09 +00:00
ceriel a9ad34c8db fixed a bug: did not handle %while in FIXED terms 1988-04-18 11:06:55 +00:00
ceriel b7a100b1f5 create lib directory if not present 1988-04-18 10:17:58 +00:00
ceriel 9dccd59665 Added patch for bad fseeks 1988-03-23 18:04:08 +00:00
ceriel db572116e1 Added a flag to not give warnings 1987-11-27 11:04:07 +00:00
ceriel e2c9a1a96f fix: there was a problem when more than 2 alternatives started with the same token 1987-10-19 15:35:28 +00:00
ceriel d7b2998ebe LLsymb was declared twice 1987-08-19 10:12:34 +00:00
ceriel 3ea06a4a2a ran out of another static list; made length dynamic 1987-08-07 14:35:21 +00:00
ceriel 6439f09220 fixed a subtle bug: in some obscure cases involving conflict resolvers and
defaults, wrong code was generated
1987-08-05 12:52:15 +00:00
ceriel 25dd5857c2 minor changes to many files 1987-06-03 19:05:14 +00:00
ceriel 985a52b415 some bug fixes 1987-05-12 18:23:09 +00:00
ceriel d08b6d58ef removed some defines from tunable.h. They were not used. 1987-04-27 15:57:43 +00:00
ceriel 7158b3a1f6 different "onerror" handling 1987-04-13 16:34:46 +00:00
ceriel 4805d67ca1 -only generate warnings when there are conflict resolvers but no conflicts,
-handle "onerror" differently
1987-04-13 16:11:50 +00:00
ceriel 81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel 717af548d5 improved userhook handling, requiring a change in LLnext and LLskip 1987-03-17 22:50:40 +00:00
ceriel 451c0d6679 improved userhook handling, This required some changes in the semantics
of LLnext and LLskip.
1987-03-17 22:41:18 +00:00
ceriel 9a07fc841f Default paths were computed wrong. This is corrected. 1987-03-16 22:26:03 +00:00
ceriel 2135ccd420 %c does not work with null-bytes on some systems (BSD 2.9) 1987-03-16 08:56:31 +00:00
ceriel 21b427d4df made just a little bit more robust 1987-03-12 22:29:25 +00:00
ceriel f694435063 minor change 1987-03-11 13:56:17 +00:00
ceriel 6eaf182cee Added Rcs Id 1987-03-10 11:49:39 +00:00
ceriel 5537abbdfb Added copyright notice 1987-03-10 01:26:51 +00:00
ceriel 815166e421 Added copyright notice 1987-03-09 19:15:41 +00:00
ceriel 1fdc5a5fe6 replaced returns from main by exits (bloody SUN) 1987-03-09 13:07:42 +00:00
ceriel eb5d7ef3fe Improved userhooks 1987-03-02 16:15:07 +00:00
ceriel 74be3a448f *** empty log message *** 1987-02-23 10:50:15 +00:00
ceriel 3f6a8abe1b adapted to allow for user intervention before error recovery 1987-02-16 21:38:52 +00:00
ceriel 255884b3fb Another adaption to allow for user intervention BEFORE error recovery 1987-02-16 21:36:05 +00:00
ceriel 74b078c3f1 just for fun: do not call empty rules. 1987-02-05 19:14:55 +00:00
ceriel 49b619cec2 Added manual page 1987-02-05 13:20:03 +00:00
ceriel 439bf558cc *** empty log message *** 1987-02-05 13:17:00 +00:00
ceriel 7d1822d04e Added EMHOME. 1986-12-10 15:30:42 +00:00
ceriel c501c762cf removed the -n flag, but not its effect. The generated parser will
call LLmessage(-1) when saying "garbage at end of input".
1986-12-10 09:32:57 +00:00
ceriel 87af36724b Avoid a bug in the C-optimizer of 4.1 BSD. 1986-11-07 17:54:30 +00:00
ceriel 7fd4e395da Constants changed to more sensible values. 1986-11-07 16:20:33 +00:00
ceriel 981bea82f4 Added "register" to a declaration. 1986-11-07 16:01:45 +00:00
ceriel a761166dfa *** empty log message *** 1986-11-05 21:31:23 +00:00
ceriel 97e027db33 Added some code to skip to EOF with LL_NEWMESS. 1986-11-03 14:09:28 +00:00
ceriel 7d2ee932e9 That was: LL_NEWMESS, not LL_NEWMESSAGE! 1986-11-03 10:28:21 +00:00
ceriel a0a3f2d2b6 Added code that calls LLmessage(-1) when needed, and when LL_NEWMESS is
defined.
1986-10-29 11:30:50 +00:00
ceriel eedc332a04 Added "nflag". 1986-10-29 11:29:47 +00:00
ceriel ee27adc926 Added nflag, that allows the LLmessage(-1) call, to indicate garbage
at end of program.
1986-10-29 11:27:47 +00:00
ceriel de5ac65dd6 Bug fix. Error recovery did not always work as expected. The generated
parser sometimes assumed that a token would not be deleted, and inserted
tokens in front of it, and then deleted the token after all. It should
at each error, first delete, and then insert.
1986-10-29 11:16:55 +00:00
ceriel aac1207beb Error messages are printed differently now. A '%' in an error message
used to cause difficulties.
1986-10-22 15:30:46 +00:00
ceriel c19358ee50 Bug fix involving '\\'. 1986-10-22 13:36:22 +00:00
ceriel 0595f74596 minor simplification. 1986-10-22 13:36:04 +00:00
ceriel 5b09f4211d A minor change in the LL.output format. 1985-11-26 13:27:51 +00:00
ceriel 4b31842ecc Remove targets before installing new ones 1985-11-25 16:26:59 +00:00
ceriel 7e978197d2 New manual page for a completely new version of LLgen. 1985-11-25 16:00:18 +00:00
ceriel 1284cf0187 Changed dependancies 1985-11-25 15:57:43 +00:00
ceriel fb36b6b633 New version of LLgen, new version of this Makefile ... 1985-11-25 15:52:56 +00:00
ceriel 8b48512de7 New version, with a much faster parser. 1985-11-25 15:50:51 +00:00
ceriel 70a5d416d1 New version, much faster 1985-11-25 15:50:19 +00:00
ceriel 42d0e056fb Completely new version, generating a much faster parser 1985-11-25 15:48:42 +00:00
ceriel f055d610d3 Completely new version, generating a much faster parser. 1985-11-25 15:47:51 +00:00
ceriel e494e09063 Initial revision 1985-10-03 18:31:47 +00:00
ceriel aab6140bfa different interface. 1985-10-03 17:19:14 +00:00
ceriel d07e8114c6 More safety, also after terms and nonterminals. 1985-10-03 12:38:55 +00:00
ceriel ca4cc6fe80 Initial revision 1985-10-03 10:35:55 +00:00
ceriel 6b74749c12 Initial revision 1985-10-03 10:25:23 +00:00
ceriel b83ab7873e A more precise safety after a term. 1985-10-02 22:49:16 +00:00
ceriel 73153b484b Initial revision 1985-10-02 22:20:04 +00:00
ceriel 7f12f20be6 Removed a reference to a non existing Makefile ( in the lib directory). 1984-12-07 15:21:25 +00:00
ceriel 2c7c97051b Changed so that the installation process will continue if LLgen
is not present yet.
Also added Makefile to the "make pr" entry.
1984-12-06 10:39:28 +00:00
ceriel 1fe1bc8c09 Forgotten to close a file. This is corrected. 1984-11-12 18:05:20 +00:00
ceriel 4d48191bcc The input routine used to skip space. This "feature" has been removed
because it is also used to read strings, in which space is significant.
1984-10-31 15:26:09 +00:00
ceriel da7230a8eb Running makedepend again gave a difference. 1984-10-26 10:31:22 +00:00
ceriel 1ca93d7aa1 removed the "depend" emtry, added a "distr" entry, which should be used
before a distribution is made.
Also added the -DNORCSID flag to the lint-options.
1984-10-26 10:25:55 +00:00
ceriel c5345aaaba Added a "distr" entry, which will be propagated to the src directory. 1984-10-26 10:24:48 +00:00
ceriel 9eb72b6ee8 Had forgotten to initialise the line number on which a nonterminal
symbol occurred first.
1984-10-12 14:19:34 +00:00
ceriel bdc67c3332 The former version gave a fatal error message at the first undefined
nonterminal. The new version checks all nonterminals
1984-10-11 10:35:01 +00:00
ceriel a33d4cdbba The routine findpath did not work. It used the same static buffer for
several calls. Now it uses alloc.
1984-10-09 11:43:19 +00:00
ceriel c89acc55c7 added "#ifdef NORCSID" 1984-10-09 10:16:33 +00:00
ceriel d068cf64b3 Added some comments and removed some Lint complaints 1984-10-09 10:13:46 +00:00
ceriel 774ce1ecc3 Initial revision 1984-10-09 09:47:14 +00:00
ceriel dd1bcb3f60 The routine LLmessage did not insert tokens properly.
This is corrected now.
1984-10-09 09:33:37 +00:00
ceriel 317ab99ecf Changed RCSid 1984-10-08 17:11:03 +00:00
ceriel 474d9d6e0f Added RCSid. 1984-10-08 16:21:03 +00:00
ceriel a9a0339ec1 Adapted the libpath routine to use EM_DIR from ../../../h/em_path.h 1984-10-08 15:58:23 +00:00
ceriel 58b1dd5b6d Initial revision 1984-10-08 15:19:18 +00:00
ceriel a7c0f30307 Initial revision 1984-10-08 14:51:38 +00:00
ceriel de22c41214 Initial revision 1984-10-08 14:24:19 +00:00
ceriel a21f936651 Initial revision 1984-10-08 14:14:53 +00:00