From cc3de9103680c90dcd2da90b3931a47b5b6fcb35 Mon Sep 17 00:00:00 2001 From: yenru0 Date: Thu, 2 Oct 2025 10:50:16 +0900 Subject: [PATCH] fix scan.c not to transition to INNE --- src/scan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scan.c b/src/scan.c index 5f1be06..caee837 100644 --- a/src/scan.c +++ b/src/scan.c @@ -110,6 +110,8 @@ TokenType getToken(void) { /* index for storing into tokenString */ save = FALSE; else if (c == '=') state = INASSIGN; + else if(c == '!') + state = INNE; else if (c == '<') { state = INLT; } else if (c == '>') {