ref: 05fc65bb32ecb4cfa80754ee36a2fb1e8d33c356
parent: 9e4951e219841e3b2b4091998cd4bd6db396bb39
author: Andrew Chambers <ac@acha.ninja>
date: Thu Apr 7 21:29:40 CDT 2022
Remove unused code.
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@
$(SHELL) -ec '(cd examples; $(MAKE))'
clean : .FORCE
- rm -f minipeg minipeg-split minipeg.c minipeg-new.c peg-new.c *.o
+ rm -f minipeg minipeg-split minipeg.c minipeg-new.c peg-new.c
$(SHELL) -ec '(cd examples; $(MAKE) clean)'
.FORCE :
--- a/peg.peg
+++ b/peg.peg
@@ -292,7 +292,7 @@
if (trailer) {
if (!nolinesFlag)
- fprintf(output, "#line %i \"%s\"\n", trailerLine, fileName, trailer);
+ fprintf(output, "#line %i \"%s\"\n", trailerLine, fileName);
fprintf(output, "%s\n", trailer);
}