Use tabgen, so deleted chtab.c

This commit is contained in:
ceriel 1988-11-16 10:43:15 +00:00
parent 345873dae2
commit 4bacebab18
3 changed files with 7 additions and 10 deletions

View file

@ -7,7 +7,6 @@ bits.h
ch7bin.c
ch7mon.c
char.tab
chtab.c
class.h
domacro.c
error.c

View file

@ -50,7 +50,7 @@ COBJ = LLlex.o LLmessage.o ch7bin.o ch7mon.o domacro.o \
PRFILES = Makefile Parameters \
make.hfiles make.tokcase make.tokfile LLlex.h bits.h file_info.h \
idf.h input.h interface.h macro.h \
class.h chtab.c char.tab expression.g $(CSRC)
class.h char.tab expression.g $(CSRC)
# Objects of other generated C files
GOBJ = char.o symbol2str.o
@ -77,8 +77,8 @@ hfiles: Parameters char.c charoffset.h
./make.hfiles Parameters
@touch hfiles
charoffset.h char.c: chtab char.tab
chtab -fchar.tab > char.c
charoffset.h char.c: char.tab
$(EMHOME)/bin/tabgen -fchar.tab > char.c
LLfiles: $(LSRC)
$(GEN) $(GENOPTIONS) $(LSRC)
@ -90,9 +90,6 @@ tokenfile.g: tokenname.c make.tokfile
symbol2str.c: tokenname.c make.tokcase
<tokenname.c ./make.tokcase >symbol2str.c
chtab: chtab.o
$(CC) -o chtab chtab.o
# Objects needed for 'cpp'
OBJ = $(COBJ) $(LOBJ) $(GOBJ)
SRC = $(CSRC) $(LCSRC) $(GSRC)
@ -138,7 +135,7 @@ lint: cfiles
lint -bx $(CDEFS) $(SRC) >lint.out
clean:
rm -f $(LCSRC) $(OBJ) $(GENERATED) $(GSRC) $(GHSRC) chtab.o chtab cpp Out
rm -f $(LCSRC) $(OBJ) $(GENERATED) $(GSRC) $(GHSRC) cpp Out
#AUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTO
LLlex.o: LLlex.h

View file

@ -3,11 +3,12 @@
%
% some general settings:
%F %s,
%H
%S257
%
% START OF TOKEN
%
%C
STGARB:\000-\377
%iSTGARB
STSKIP:\r \t\f\013
STNL:\n
STCOMP:!&<=>|