1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

add missing keywords to pest

This commit is contained in:
dark64 2019-12-10 09:47:05 +01:00
parent cfd8964ca3
commit e90f63c8a0

View file

@ -119,6 +119,6 @@ WHITESPACE = _{ " " | "\t" | "\\" ~ NEWLINE}
COMMENT = _{ ("/*" ~ (!"*/" ~ ANY)* ~ "*/") | ("//" ~ (!NEWLINE ~ ANY)*) }
// TODO: Order by alphabet
keyword = @{"as"|"bool"|"byte"|"def"|"do"|"else"|"endfor"|"export"|"false"|"field"|"for"|"if"|"import"|
keyword = @{"as"|"bool"|"byte"|"def"|"do"|"else"|"endfor"|"export"|"false"|"field"|"for"|"if"|"then"|"fi"|"import"|
"in"|"private"|"public"|"return"|"struct"|"true"|"uint"
}