improved error reporting, added -DNON_CORRECTING
This commit is contained in:
parent
664d3fc8d3
commit
8ea5d257c4
|
@ -6,7 +6,7 @@ SRC_DIR = $(SRC_HOME)/util/LLgen/src
|
|||
LIBDIR = $(TARGET_HOME)/lib/LLgen
|
||||
INCLUDES = -I$(SRC_DIR) -I.
|
||||
LIBDIRSTR = \"$(LIBDIR)\"
|
||||
DEFINES = -DNDEBUG
|
||||
DEFINES = -DNDEBUG -DNON_CORRECTING
|
||||
CFLAGS = $(DEFINES) $(INCLUDES) $(COPTIONS)
|
||||
LDFLAGS=$(LDOPTIONS)
|
||||
LINTFLAGS=$(LINTOPTIONS) $(DEFINES) $(INCLUDES) -DNORCSID
|
||||
|
|
|
@ -501,6 +501,15 @@ cpy(s,p,inserted) register string p; {
|
|||
}
|
||||
t = "literal";
|
||||
break;
|
||||
case C_ACTION:
|
||||
t = "C action";
|
||||
break;
|
||||
case C_PARAMS:
|
||||
t = "C parameter section";
|
||||
break;
|
||||
case C_EXPR:
|
||||
t = "C expression";
|
||||
break;
|
||||
case EOFILE :
|
||||
t = "end-of-file";
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue