grammar.py and friends: Make test/grammar compile and start

Doesn't successfully parse grammartest.code, yet, it errors out with a
syntax error on whitespace. But at least it compiles and starts.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-10-30 13:05:22 +01:00
commit 16ce7abd93
5 changed files with 129 additions and 77 deletions

View file

@ -1,10 +1,10 @@
TOPDIR = ../..
USE_PROJECT_LIB = true
MEMBERS += local.a($(OBJ))
EXE_ARGS ?= grammartest.code
PREREQ_BUILD += ytools
FB_NAME = grammartest
NAMESPACE_IN_GENERATED = gt
include $(TOPDIR)/make/proj.mk
include $(TOPDIR)/make/generate-flex-bison.mk
include $(MODDIR)/make/exe.mk