Closed CinchBlue closed 7 years ago
I found the issue, the parser never checked the string in the number token for a period or a /. It is now fixed and exists on branch "issue12". I found another bug however, I am unable to declare or initialize a std::string without the compiler throwing many errors.
Fixed switch case scoping issue, fixed quote for both parsing functions, fixed number for both parsing functions.
If you give
1/2
to theparse
function, it does not correctly push the correct list form onto the list -- it pushes only1
, or the numerator part.We need to expand the parser for numbers so that it correctly peeks ahead and does the full parse for the number form.