Ensure stroke_params_lexer.h is created on all platforms (linux or msys2)

Probably due to an order of build commands this file was not created before use
on msys2.
This commit is contained in:
jean-pierre charras 2021-12-28 11:58:46 +01:00
parent 49cb9586bd
commit b0bf780b80
1 changed files with 11 additions and 0 deletions

View File

@ -614,6 +614,9 @@ generate_lemon_grammar(
)
# auto-generate stroke_params_lexer.h and stroke_params_keywords.cpp
# Called twice one for common and one for gal, to ensure the files are created
# on all devel tools ( Linux and msys2 )
# works on Linux:
make_lexer(
common
stroke_params.keywords
@ -621,6 +624,14 @@ make_lexer(
stroke_params_keywords.cpp
STROKEPARAMS_T
)
# works on msys2:
make_lexer(
gal
stroke_params.keywords
stroke_params_lexer.h
stroke_params_keywords.cpp
STROKEPARAMS_T
)
# auto-generate netlist_lexer.h and netlist_keywords.cpp
make_lexer(