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 *
Please register or sign in to comment