-
Notifications
You must be signed in to change notification settings - Fork 60
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
constant starting with letter 'o' #115
Comments
i debugged the code. it looks like 'organisation' is interpreted like 'or' + 'ganisation' Why is the token splited ? there is no syntax delimiter characters ? |
set constant "organisation" = "whatever" is not a valid statement in muparserx syntax. "organisation"=="foobar" Does not give an error. Please provide the exact statement that is causing this behavior. |
Hi Beltoforion, I mean, i 'm using parser.DefineConst( constant_name , constant_value ); with constant_name "organisation" and constant_value "whatever" then string requirement = "organisation == "foobar""; the Eval command triggers the assertion error. Not that 'organisation' is not a string. It s a constant/variable name. |
THe use case is that i have multiple requirement strings as a muparserx expression. There is a set of constants that are defined in the parser such as "organisation", "group", "security_level" etc.. The same assertion is triggered just by evaluating : "andganisation" |
Issue is fixed |
That doesn't seem to be supported:
set constant "organisation" = "whatever"
expression "organisation" evaluation gives :
Assertion "m_nStackPos >= 0" failed: mpRPN.cpp line 74
The text was updated successfully, but these errors were encountered: