Skip to content
Commit 8cb4b271 authored by cjsr4d's avatar cjsr4d
Browse files

Changed specifics around operators as a whole

* Instead of checking the ASCII values of tokenChar and evaluating the contents that way, a isdigit(), isalpha, and isspace() is used.
* Getting WS after '}' is acceptable and has been changed from being an error
* When nextState is an error code and then assigned to currState the next line travels FSA based on that error code. A check of currState's polarity is made and if it passes nextState can be evaluated
* Returns EOF token if the program ends without a second comment character
* Switch line and column to read more intuitively
*
parent c0ab8133
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment