problem with comments and strings literals
Closed this issue · 1 comments
ruv commented
It seems that contents of the comments and string literals have some side effect.
The testcase for comments:
# = r*tan(a) = tan(a)
tan(0)
The testcase for strings:
x= " = r*tan(a) = tan(a)"
tan(0)
Expected result: = 0
Actual result: // Error: Undefined symbol r
(in the both cases)
Perhaps there is need a proper parser instead of plain text processing.
grimalschi commented
Fixed