From: Eric S. Raymond Date: Tue, 30 Jul 2002 19:17:57 +0000 (+0000) Subject: Clean up toktab.h to work with Bison. X-Git-Tag: 1-4~3 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=64b382fecdebf307dc14aa9812c6681e391c1945;p=cupl.git Clean up toktab.h to work with Bison. --- diff --git a/Makefile b/Makefile index 837d051..90a79ee 100644 --- 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 toktab.h '/^#/ {print $$3 ", \"" $$3 "\","}' + awk toktab.h '/^# define / {print $$3 ", \"" $$3 "\","}' lextest: lexer.c tokens.h tokdump.o $(CC) $(CFLAGS) -DMAIN lexer.c tokdump.o -o lextest