Closed rpgoldman closed 1 year ago
Yup. I've fixes this issue with commit 1613b83. Your conjecture was fully correct - I did not reset the line number counter of flex. Now we are fully de-initialising flex after the first file has been parsed. This should also remove any potential other problem related to not resetting it correctly.
Here's an invocation of pandaPIparser that encountered a parse error in its problem file:
The entire file
p01.hddl
is only 27 lines long. Howeverdomain.hddl
is 208 lines long. So I conjecture that the line counter is not reset whenpandaPIparser
closesdomain.hddl
and opensp01.hddl
.