aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-12-07 16:04:25 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-12-07 16:04:25 -0500
commit37f3e91f6c95d46f161dbde05b0a005fe7e7c17a (patch)
treec6e080ebbe7aed267b8ca0c5aec80fece51a5f65 /parse.c
parenta201939a8150bc4c2f221925797ea2751c74b77c (diff)
Rename "NONE" to "none"
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c4
1 files changed, 2 insertions, 2 deletions
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;