mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 01:52:56 +01:00
grammar.py and friends: Improve line numbers and headers
Line numbers of parsed input are now automatically maintained. More needed data structures are now automatically created in the API header file. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
a3a8313ce8
commit
3cba245b77
5 changed files with 76 additions and 71 deletions
|
|
@ -27,7 +27,7 @@ FB_CASE_INSENSITIVE ?= true
|
|||
FB_SRC ?= $(filter %.y %.l,$(GENERATED))
|
||||
FB_COMMON_H ?= $(FB_HDRDIR)/$(FB_NAME).h
|
||||
|
||||
INCLUDED_BY_GENERATED += include/defs.h $(FB_COMMON_H) include/lex.$(FB_NAME).h include/$(FB_NAME).tab.h
|
||||
INCLUDED_BY_GENERATED += $(FB_COMMON_H) include/lex.$(FB_NAME).h include/$(FB_NAME).tab.h
|
||||
|
||||
GENERATE_PY ?= ./generate.py
|
||||
GENERATE ?= python ./$(GENERATE_PY) --log-level $(GENERATE_LOG_LEVEL) create \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue