Avoid error with old Bison versions

`api.token.raw` is only defined starting with Bison 3.5
Since it's not essential, define it on the command-line iff the Bison
version is sufficient.
This commit is contained in:
ISSOtm
2020-12-10 13:53:45 +01:00
parent bdfce25db0
commit 3e4c2fe712
4 changed files with 26 additions and 9 deletions

View File

@@ -166,8 +166,6 @@ static inline void failAssertMsg(enum AssertionType type, char const *msg)
%}
%define api.token.raw true
%union
{
char tzSym[MAXSYMLEN + 1];