Browse files

nagaqueen now works again with greg =) Une sombre histoire d'allocati…

…on mémoire.
  • Loading branch information...
1 parent ecd3ab6 commit 87c4e3a9cd9342f335a8428fd6486e588123299e n ddrylliog committed Nov 15, 2009
Showing with 1,623 additions and 1,575 deletions.
  1. +3 −1 Makefile
  2. +1,620 −1,574 source/rock/frontend/NagaQueen.c
View
4 Makefile
@@ -1,10 +1,12 @@
.PHONY:all clean mrproper test-ast
+#PARSER_GEN=leg
+PARSER_GEN=greg
OOC_OWN_FLAGS=-sourcepath=source/ -driver=sequence -v -noclean -g -shout
OOC=ooc ${OOC_OWN_FLAGS} ${OOC_FLAGS}
all:
mkdir -p source/rock/parser/
- leg ../nagaqueen/grammar/nagaqueen.leg > source/rock/frontend/NagaQueen.c
+ ${PARSER_GEN} ../nagaqueen/grammar/nagaqueen.leg > source/rock/frontend/NagaQueen.c
${OOC} $(shell find source/ -name "*.c") rock/rock && mkdir -p bin/ && mv rock bin/
test-ast:
View
3,194 source/rock/frontend/NagaQueen.c
1,620 additions, 1,574 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit 87c4e3a

Please sign in to comment.