diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-04-12 17:18:05 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-04-12 17:18:05 -0400 |
commit | 8fea53ab8fa095ff7909b5bfbb0c6e94f2206b52 (patch) | |
tree | 3a06f26b7a9fd5edfcb9c84b8f66bc1455f7357e /tnslc/parse/token.tnsl | |
parent | d0213b4202ac12d7e92f7125e87c31d9ecb637dd (diff) |
Update tnslc
Diffstat (limited to 'tnslc/parse/token.tnsl')
-rw-r--r-- | tnslc/parse/token.tnsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tnslc/parse/token.tnsl b/tnslc/parse/token.tnsl index 0134483..668312b 100644 --- a/tnslc/parse/token.tnsl +++ b/tnslc/parse/token.tnsl @@ -218,7 +218,7 @@ #; is_in_string (~{}charp cmp, charp p) [bool] /; loop (int i = 0; i < len cmp`) [i++] - /; if (s == cmp`{i}) + /; if (p == cmp`{i}) ;return true ;/ ;/ @@ -233,7 +233,7 @@ /; loop (int i = 0; i < len cmp`) [i++] - /; if (len s == len cmp`{i}) + /; if (len s` == len cmp`{i}) /; loop (int j = 0; j < len s`) [j++] @@ -255,7 +255,7 @@ #; get_token_type (~{}charp s) [int] - /; if (len s > 1) + /; if (len s` > 1) /; if (is_in_string_list(~PREWORDS, s)) ;return TOKEN_TYPE.PREWORD |