Commit Graph
54 Commits
Author SHA1 Message Date
ceriel 57319f33a8 fix: there was a problem when more than 2 alternatives started with the same token 1987-10-19 15:35:28 +00:00
ceriel d027b768d1 ran out of another static list; made length dynamic 1987-08-07 14:35:21 +00:00
ceriel c77dc48cdc 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 f1988c94cd minor changes to many files 1987-06-03 19:05:14 +00:00
ceriel 4a018be8bf some bug fixes 1987-05-12 18:23:09 +00:00
ceriel d931863c8a removed some defines from tunable.h. They were not used. 1987-04-27 15:57:43 +00:00
ceriel 5ea5c50340 -only generate warnings when there are conflict resolvers but no conflicts,
-handle "onerror" differently
1987-04-13 16:11:50 +00:00
ceriel b0df114710 Initial revision 1987-04-13 10:32:47 +00:00
ceriel 387894c935 improved userhook handling, requiring a change in LLnext and LLskip 1987-03-17 22:50:40 +00:00
ceriel 625d0fd4ff Default paths were computed wrong. This is corrected. 1987-03-16 22:26:03 +00:00
ceriel 7ddf70e06d %c does not work with null-bytes on some systems (BSD 2.9) 1987-03-16 08:56:31 +00:00
ceriel 5753239a83 made just a little bit more robust 1987-03-12 22:29:25 +00:00
ceriel 5f08cc8b3b Added Rcs Id 1987-03-10 11:49:39 +00:00
ceriel 32301e016b Added copyright notice 1987-03-10 01:26:51 +00:00
ceriel f5371e1096 Added copyright notice 1987-03-09 19:15:41 +00:00
ceriel 357ab5d1fd replaced returns from main by exits (bloody SUN) 1987-03-09 13:07:42 +00:00
ceriel 593efda046 adapted to allow for user intervention before error recovery 1987-02-16 21:38:52 +00:00
ceriel 3df309f110 just for fun: do not call empty rules. 1987-02-05 19:14:55 +00:00
ceriel b6ab6a5eb0 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 8f511e95b9 Avoid a bug in the C-optimizer of 4.1 BSD. 1986-11-07 17:54:30 +00:00
ceriel 40fe162a04 Constants changed to more sensible values. 1986-11-07 16:20:33 +00:00
ceriel f136bb04d6 Added "register" to a declaration. 1986-11-07 16:01:45 +00:00
ceriel 96e1ce1b52 Added "nflag". 1986-10-29 11:29:47 +00:00
ceriel 07626ee7b3 Added nflag, that allows the LLmessage(-1) call, to indicate garbage
at end of program.
1986-10-29 11:27:47 +00:00
ceriel d02d0632c0 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 935a12a56e Error messages are printed differently now. A '%' in an error message
used to cause difficulties.
1986-10-22 15:30:46 +00:00
ceriel 55dd98fd3c Bug fix involving '\\'. 1986-10-22 13:36:22 +00:00
ceriel 06ea1f505e minor simplification. 1986-10-22 13:36:04 +00:00
ceriel 69caad4b6c A minor change in the LL.output format. 1985-11-26 13:27:51 +00:00
ceriel 58588da699 Changed dependancies 1985-11-25 15:57:43 +00:00
ceriel d901827448 Completely new version, generating a much faster parser 1985-11-25 15:48:42 +00:00
ceriel 8abda5fb1d Completely new version, generating a much faster parser. 1985-11-25 15:47:51 +00:00
ceriel 2f02820a56 Initial revision 1985-10-03 18:31:47 +00:00
ceriel da5f8e5a14 different interface. 1985-10-03 17:19:14 +00:00
ceriel c1d4bb2597 More safety, also after terms and nonterminals. 1985-10-03 12:38:55 +00:00
ceriel b601e61e52 Initial revision 1985-10-03 10:35:55 +00:00
ceriel 15b635c021 Initial revision 1985-10-03 10:25:23 +00:00
ceriel eb87fd5c0a A more precise safety after a term. 1985-10-02 22:49:16 +00:00
ceriel cc731d51e2 Initial revision 1985-10-02 22:20:04 +00:00
ceriel 6692cbb192 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 6d42bab835 Forgotten to close a file. This is corrected. 1984-11-12 18:05:20 +00:00
ceriel f0445587cf 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 6fd15f62dc Running makedepend again gave a difference. 1984-10-26 10:31:22 +00:00
ceriel ca787ba372 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 d89d5770b1 Had forgotten to initialise the line number on which a nonterminal
symbol occurred first.
1984-10-12 14:19:34 +00:00
ceriel bac12b0c46 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 e13ebaad9e 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 0ec009bde2 Added some comments and removed some Lint complaints 1984-10-09 10:13:46 +00:00
ceriel b5402db333 The routine LLmessage did not insert tokens properly.
This is corrected now.
1984-10-09 09:33:37 +00:00
ceriel 4f5c40c608 Changed RCSid 1984-10-08 17:11:03 +00:00