Commit graph

54 commits

Author SHA1 Message Date
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 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 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 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 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 3f6a8abe1b adapted to allow for user intervention before error recovery 1987-02-16 21:38:52 +00:00
ceriel 74b078c3f1 just for fun: do not call empty rules. 1987-02-05 19:14:55 +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 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 1284cf0187 Changed dependancies 1985-11-25 15:57:43 +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 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 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 d068cf64b3 Added some comments and removed some Lint complaints 1984-10-09 10:13:46 +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