forked from GitHub/gf-core
Regenerate source GF parser from GF.cf. Now, when GF/Source/Makefile is used, no hand-hacking is needed.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
all:
|
||||
cd ../.. && bnfc -p GF.Source -bytestrings -sharestrings GF/Source/GF.cf
|
||||
rm ErrM.hs
|
||||
perl -i -pe 's/%name pModHeader ModHeader/%partial pModHeader ModHeader/' ParGF.y
|
||||
perl -i -pe 's/GF.Source.ErrM/GF.Data.ErrM/' *.hs *.x *.y
|
||||
happy -gca ParGF.y
|
||||
alex -g LexGF.x
|
||||
|
||||
Reference in New Issue
Block a user