forked from GitHub/gf-core
Added src/GF/Source/Makefile for regenerating the GF source parser from GF.cf.
This commit is contained in:
6
src/GF/Source/Makefile
Normal file
6
src/GF/Source/Makefile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
all:
|
||||||
|
cd ../.. && bnfc -p GF.Source -bytestrings -sharestrings GF/Source/GF.cf
|
||||||
|
rm ErrM.hs
|
||||||
|
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