- fix the syntax error generated by import lists
- fix while statement and element redeclaration marks
Significant changes in API.
- Syntax events do not contain any information, except for
Enterevents that carry identifier of the Modelica production - only one function is exposed.
parse()takes the string input and returns theParsedModelicaobject - errors are now represented with a dedicated type called
SyntaxError
Minor ergonomic improvements to syntax events.
- Both
EnterandExitevents now carry their own indices - Empty productions are no longer discarded
Minor ergonomic improvements to syntax events.
- Correct assignment of closing tokens in
Exitsyntax events
Initial version.