You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

53 lines
1.4 KiB

Index: Makefile
--- Makefile.orig 2007-05-15 19:36:52 +0200
+++ Makefile 2008-08-30 23:52:52 +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 2008-08-30 23:57:34 +0200
+++ peg.1 2008-08-31 00:00:33 +0200
@@ -513,7 +513,7 @@
.I identifier
and can be referred to in subsequent actions.
.PP
-The desk calclator example below illustrates the use of '$$' and ':'.
+The desk calculator example below illustrates the use of '$$' and ':'.
.SH LEG EXAMPLE: A DESK CALCULATOR
The extensions in
.I leg
@@ -833,7 +833,7 @@
.IR lex (1)
features (yywrap(), yyin, etc.) are completely absent.
.PP
-The generated parser foes not contain '#line' directives to direct C
+The generated parser does not contain '#line' directives to direct C
compiler errors back to the grammar description when appropriate.
.IR lex (1)
features (yywrap(), yyin, etc.) are completely absent.
Index: version.h
--- version.h.orig 2007-08-31 23:06:46 +0200
+++ version.h 2008-08-30 23:52:52 +0200
@@ -1,3 +1,3 @@
#define PEG_MAJOR 0
#define PEG_MINOR 1
-#define PEG_LEVEL 2
+#define PEG_LEVEL 4