|
|
|
|
@ -1,30 +1,15 @@
|
|
|
|
|
Index: Makefile
|
|
|
|
|
--- Makefile.orig 2007-05-15 19:36:52.000000000 +0200
|
|
|
|
|
+++ Makefile 2011-11-25 22:40:19.000000000 +0100
|
|
|
|
|
--- Makefile.orig 2012-04-30 02:03:36.000000000 +0200
|
|
|
|
|
+++ Makefile 2012-05-01 14:26:05.000000000 +0200
|
|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
|
-CFLAGS = -g -Wall $(OFLAGS) $(XFLAGS)
|
|
|
|
|
+CFLAGS = $(OFLAGS) $(XFLAGS)
|
|
|
|
|
OFLAGS = -O3 -DNDEBUG
|
|
|
|
|
#OFLAGS = -pg
|
|
|
|
|
|
|
|
|
|
@@ -31,12 +31,12 @@
|
|
|
|
|
peg.o : peg.c peg.peg-c
|
|
|
|
|
|
|
|
|
|
%.peg-c : %.peg
|
|
|
|
|
-# ./peg -o $@ $<
|
|
|
|
|
+ ./peg -o $@ $<
|
|
|
|
|
|
|
|
|
|
leg.o : leg.c
|
|
|
|
|
|
|
|
|
|
leg.c : leg.leg
|
|
|
|
|
-# ./leg -o $@ $<
|
|
|
|
|
+ ./leg -o $@ $<
|
|
|
|
|
|
|
|
|
|
check : peg .FORCE
|
|
|
|
|
./peg < peg.peg > peg.out
|
|
|
|
|
Index: peg.1
|
|
|
|
|
--- peg.1.orig 2007-09-13 17:40:46.000000000 +0200
|
|
|
|
|
+++ peg.1 2011-11-25 22:40:19.000000000 +0100
|
|
|
|
|
--- peg.1.orig 2012-04-30 02:03:36.000000000 +0200
|
|
|
|
|
+++ peg.1 2012-05-01 14:25:42.000000000 +0200
|
|
|
|
|
@@ -513,7 +513,7 @@
|
|
|
|
|
.I identifier
|
|
|
|
|
and can be referred to in subsequent actions.
|
|
|
|
|
@ -34,7 +19,7 @@ Index: peg.1
|
|
|
|
|
.SH LEG EXAMPLE: A DESK CALCULATOR
|
|
|
|
|
The extensions in
|
|
|
|
|
.I leg
|
|
|
|
|
@@ -833,7 +833,7 @@
|
|
|
|
|
@@ -879,7 +879,7 @@
|
|
|
|
|
.IR lex (1)
|
|
|
|
|
features (yywrap(), yyin, etc.) are completely absent.
|
|
|
|
|
.PP
|
|
|
|
|
|