Commit Graph

6 Commits

Author SHA1 Message Date
Fergus Henderson
fc6695ac39 Store a term_context (line number) in various important places
in the hlds.  Add line numbers to all the error messages produced
by make_hlds.nl.
1994-01-10 13:07:06 +00:00
Fergus Henderson
3ddf6bfb05 Improved error reporting in the parser: it now reports the line number
where the error occurred.
Note that line numbers are still not stored in the hlds yet, so
we need to do some more work so that the typechecker, etc. can also
report line numbers.
1994-01-10 09:06:54 +00:00
Fergus Henderson
90c2b4f368 Added `author' comment to all source files.
Lots of bug fixes for make_hlds.nl.
A couple of bug fixes for hlds.nl.
Did some optimization of memory usage: added io__gc_call to io.nl
and used it in prog_io.nl and module.nl.  Rewrote the main loop
of prog_io to take maximum advantage of manual garbage collection.
Started working on typecheck.nl.
1993-12-28 11:35:16 +00:00
Fergus Henderson
42915a7172 Added some comments. 1993-12-03 09:02:15 +00:00
Fergus Henderson
ba050eeb69 bug fixes 1993-12-01 19:15:13 +00:00
Fergus Henderson
701311514f Add some code to print out the parse tree. 1993-12-01 18:49:04 +00:00