summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
Diffstat (limited to 'Parser')
-rw-r--r--Parser/tokenizer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index b14506a..6698d35 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -1253,6 +1253,9 @@ verify_end_of_number(struct tok_state *tok, int c, const char *kind)
else if (c == 'o') {
r = lookahead(tok, "r");
}
+ else if (c == 'n') {
+ r = lookahead(tok, "ot");
+ }
if (r) {
tok_backup(tok, c);
if (parser_warn(tok, "invalid %s literal", kind)) {