-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Successive 2D constant arrays are merged incorrectly #7
Comments
The only way to distinguish the end of the constant list in this case is to consider the It turns out we were already matching the |
This parser change resulted in a large increase in code generation time. The cause is probably that unitsDoc is now a parser rule that injects large amounts of text into the parse tree instead of skipping it in the lexer. We can handle this issue a different way by reverting to the UnitsDoc lexer rule, and simply terminating equations and subscript ranges on the This approach requires SDEverywhere to add the |
When a model contains two successive 2D constant arrays (after sorting into variable name order by the preprocessor) the equations are merged by the parser. For instance, this model:
shows the following formula in the variable listing for the first equation.
The text was updated successfully, but these errors were encountered: