Closed atilag closed 4 years ago
Variable, constant or function names with a "." are not allowed. As far as i can see you should receive a ParserException that explains this. This is normal behavior, just catch and evaluate the exception..
You can try to add the "." to line 62 of mpParser.cpp or call the function DefineNameChars directly. This will make it an allowed character although i cannot guarantee it won't collide with other operators.
We've been able to get this to work by building up a string of acceptable name characters, including '.', and assigning it via ParserXBase::DefineNameChars
closed; not a bug; can be adjusted with existing API
I'm getting an exception if I define a variable with a dot into it:
Is this expected? As a last resort I could filter them and remove the dots
Thanks for sharing this library! It's being very helpful! :)