fix scan.c not to transition to INNE
This commit is contained in:
@@ -110,6 +110,8 @@ TokenType getToken(void) { /* index for storing into tokenString */
|
|||||||
save = FALSE;
|
save = FALSE;
|
||||||
else if (c == '=')
|
else if (c == '=')
|
||||||
state = INASSIGN;
|
state = INASSIGN;
|
||||||
|
else if(c == '!')
|
||||||
|
state = INNE;
|
||||||
else if (c == '<') {
|
else if (c == '<') {
|
||||||
state = INLT;
|
state = INLT;
|
||||||
} else if (c == '>') {
|
} else if (c == '>') {
|
||||||
|
|||||||
Reference in New Issue
Block a user