Skip to content

Commit

Permalink
Updated arrangement of reserved keywords.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Dec 19, 2024
1 parent 956dd0b commit 2b01e92
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/n8/parser/OperatorsAndKeys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ const std::vector<std::string> OperatorsAndKeys::operators = {
};

const std::unordered_set<std::string> OperatorsAndKeys::keywords = {
"while", "loop", "render", "unless", "nil",
"if", "else", "when", "break", "continue",
"random", "func", "ret", "true", "false",
"catch", "handle", "throw", "maybe", "then",
"type", "use", "test", "val", "parallel",
"wait", "size", "use", "halt"
"break", "catch", "continue", "delete",
"else", "false", "func", "halt", "handle",
"if", "lock", "loop", "maybe", "nil",
"parallel", "random", "render", "ret",
"size", "test", "then", "throw", "true",
"type", "unless", "use", "val", "wait",
"when", "while", "with"
};

0 comments on commit 2b01e92

Please sign in to comment.