From 37f3e91f6c95d46f161dbde05b0a005fe7e7c17a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 7 Dec 2024 16:04:25 -0500 Subject: Rename "NONE" to "none" --- parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parse.c') diff --git a/parse.c b/parse.c index 17ebcea0..1cd51bd6 100644 --- a/parse.c +++ b/parse.c @@ -53,7 +53,7 @@ int op_tightness[] = { static const char *keywords[] = { "yes", "xor", "while", "when", "use", "unless", "struct", "stop", "skip", "return", "or", "not", "no", "mod1", "mod", "pass", "lang", "inline", "in", "if", - "func", "for", "extern", "enum", "else", "do", "deserialize", "defer", "and", "NONE", + "func", "for", "extern", "enum", "else", "do", "deserialize", "defer", "and", "none", "_min_", "_max_", NULL, }; @@ -1545,7 +1545,7 @@ PARSER(parse_lambda) { PARSER(parse_none) { const char *start = pos; - if (!match_word(&pos, "NONE")) + if (!match_word(&pos, "none")) return NULL; const char *none_end = pos; -- cgit v1.2.3