grammar.py: Add grammar_parse_ebnf_tokens()

Add grammar_parse_ebnf_tokens(), to be used by external grammar parsers
and grammar_parse_ebnf()

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-10-28 19:16:00 +02:00
commit 432d78cdc5
4 changed files with 216 additions and 91 deletions

View file

@ -1,5 +1,8 @@
TOPDIR = ../..
USE_PROJECT_LIB = true
MEMBERS += local.a($(OBJ))
GENERATED_STD = grammartest.l grammartest.y grammartest.ebnf include/grammartest.h
# These types are meant to be cut off the tree and turned into hand coded flex