]> thyrsus.com Git - cupl.git/commitdiff
Clean up toktab.h to work with Bison.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 30 Jul 2002 19:17:57 +0000 (19:17 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 30 Jul 2002 19:17:57 +0000 (19:17 +0000)
Makefile

index 837d0514f0011fa843f6deb674a2f64a33002b66..90a79eed5257231a2bb209675b2f7f7a15c44325 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ execute.o: execute.c tokens.h cupl.h
 monitor.o: monitor.c tokens.h cupl.h
 
 toktab.h: tokens.h
-       awk <tokens.h >toktab.h '/^#/ {print $$3 ", \"" $$3 "\","}'
+       awk <tokens.h >toktab.h '/^# define     / {print $$3 ", \"" $$3 "\","}'
 
 lextest: lexer.c tokens.h tokdump.o
        $(CC) $(CFLAGS) -DMAIN lexer.c tokdump.o -o lextest