parameterized cvtkeywords
authorceriel <none@none>
Tue, 27 Aug 1991 09:09:49 +0000 (09:09 +0000)
committerceriel <none@none>
Tue, 27 Aug 1991 09:09:49 +0000 (09:09 +0000)
util/ncgg/Makefile
util/ncgg/cvtkeywords

index a68f42c..1db16fa 100644 (file)
@@ -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
index 31fc0b4..cac911a 100755 (executable)
@@ -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