parsing fixes
This commit is contained in:
parent
e3547b76b1
commit
b79c3e0f5a
4 changed files with 18 additions and 5 deletions
|
@ -588,10 +588,12 @@ function read_number_suffix
|
|||
|
||||
function print_tokens
|
||||
argument tokens
|
||||
argument tokens_end
|
||||
local p
|
||||
local s
|
||||
p = tokens
|
||||
:print_tokens_loop
|
||||
if p ]= tokens_end goto print_tokens_loop_end
|
||||
if *1p == 0 goto print_tokens_loop_end
|
||||
if *1p > 20 goto print_token_keyword
|
||||
if *1p == TOKEN_CONSTANT_INT goto print_token_int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue