now uses alloc module, bug fixes, -N option under USE_TMP, to not do so

This commit is contained in:
ceriel
1987-01-24 00:25:56 +00:00
parent b4e4250144
commit 8116e3181f
37 changed files with 124 additions and 136 deletions

View File

@@ -1,9 +1,9 @@
/* $Header$ */
/* PARSER ERROR ADMINISTRATION */
#include <alloc.h>
#include "nofloat.h"
#include "idf.h"
#include "alloc.h"
#include "arith.h"
#include "LLlex.h"
#include "Lpars.h"
@@ -12,9 +12,10 @@ extern char *symbol2str();
LLmessage(tk) {
err_occurred = 1;
if (tk < 0)
fatal("parser administration overflow");
if (tk) {
if (tk < 0) {
error("end of file expected");
}
else if (tk) {
error("%s missing", symbol2str(tk));
insert_token(tk);
}