Skip to content

Commit

Permalink
Fix strange bug - Update tokenize.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
PallHaraldsson authored Oct 9, 2023
1 parent bbc5346 commit 6fe2f58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tokenize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,10 @@ function _next_token(l::Lexer, c)
return lex_whitespace(l, c)
elseif is_identifier_start_char(c)
return lex_identifier(l, c)
elseif c == '"'
 return lex_quote(l);
elseif isdigit(c)
return lex_digit(l, K"Integer")
return lex_digit(l, K"Integer")
elseif c == '"'
return lex_quote(l)
elseif c == '+'
return lex_plus(l)
elseif c == '-'
Expand Down

0 comments on commit 6fe2f58

Please sign in to comment.