fix identifier rule mistake number as identifier
This commit is contained in:
parent
6ad5cbb586
commit
8f7685e8ea
@ -26,7 +26,7 @@ keywords = {
|
||||
|
||||
// if identifier starts with something like a keyword, it must follows something else
|
||||
// in any case, the identifier cannot begin with a digit
|
||||
identifier = @{ keywords? ~ ("_" | ASCII_ALPHANUMERIC)+
|
||||
identifier = @{ keywords ~ ("_" | ASCII_ALPHANUMERIC)+
|
||||
| !keywords ~ ASCII_ALPHA ~ ("_" | ASCII_ALPHANUMERIC)* }
|
||||
|
||||
function_type_param = { type* }
|
||||
|
Loading…
Reference in New Issue
Block a user