Skip to content

Commit

Permalink
calc example: turn off packrat, disable debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHixon committed Jun 26, 2022
1 parent da1cff7 commit 5bb13fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/calc/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SHELL=/bin/sh

CC=gcc
CFLAGS=-Wall -Wno-unused-function -std=c99 -g -DCHPEG_EXTENSION_ALL -DCHPEG_PACKRAT -DDEBUG_CALC
CFLAGS=-Wall -Wno-unused-function -std=c99 -g -DCHPEG_EXTENSION_ALL -DCHPEG_PACKRAT
LDFLAGS=

CHPEG_UTIL=../../util/chpeg
Expand Down
2 changes: 1 addition & 1 deletion examples/calc/calc.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int main(int argc, const char *argv[])

#if CHPEG_PACKRAT
// set to non-zero to enable packrat
parser->packrat = 1;
parser->packrat = 0;
#endif

size_t consumed = 0;
Expand Down

0 comments on commit 5bb13fb

Please sign in to comment.