diff --git a/util/ncgg/Makefile b/util/ncgg/Makefile index a68f42c10..1db16facf 100644 --- a/util/ncgg/Makefile +++ b/util/ncgg/Makefile @@ -32,7 +32,7 @@ debugcgg: cgg.o $(OFILES) debugoutput.o cgg.o: scan.c enterkeyw.c: cvtkeywords keywords y.tab.h - cvtkeywords + cvtkeywords keywords debugoutput.o: debugoutput.c $(CC) $(CFLAGS) -DCODEDEBUG -c debugoutput.c diff --git a/util/ncgg/cvtkeywords b/util/ncgg/cvtkeywords index 31fc0b456..cac911a3e 100755 --- a/util/ncgg/cvtkeywords +++ b/util/ncgg/cvtkeywords @@ -1,6 +1,6 @@ : '$Header$' grep '^#' y.tab.h >tokendefs -ed - keywords <<'!Funky!Stuff!' +ed - $1 <<'!Funky!Stuff!' g/^#/d 1,$s/\([^ ]*\)[ ][ ]*\(.*\)/ sy_p=lookup("\1",symkeyw,newsymbol);sy_p->sy_value.syv_keywno=\2;/ 1i