support negative int
This commit is contained in:
parent
32b3476451
commit
a01c827935
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
}
|
||||
|
||||
let alpha = ['a'-'z' 'A'-'Z']
|
||||
let num = ['0'-'9']
|
||||
let num = '-'? ['0'-'9']
|
||||
let bool = "true" | "false"
|
||||
let ident = alpha (alpha | num | '-' | '_')*
|
||||
|
||||
|
|
Reference in a new issue