Browse Source
number add BIN_NUMBER
Without BIN_NUMBER, the following error occurs:
lark.exceptions.UnexpectedCharacters: No terminal defined for 'b' at line 1 col 2
0b10
^
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.66
Haski-server
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
examples/python3.lark
|
|
@@ -161,7 +161,7 @@ yield_expr: "yield" [yield_arg] |
|
|
|
yield_arg: "from" test | testlist |
|
|
|
|
|
|
|
|
|
|
|
number: DEC_NUMBER | HEX_NUMBER | OCT_NUMBER | FLOAT_NUMBER | IMAG_NUMBER |
|
|
|
number: DEC_NUMBER | HEX_NUMBER | BIN_NUMBER | OCT_NUMBER | FLOAT_NUMBER | IMAG_NUMBER |
|
|
|
string: STRING | LONG_STRING |
|
|
|
// Tokens |
|
|
|
|
|
|
|