| author | |
| committer | |
| log | 87901baa28ca04f5de8125c2f473fa02db6b4eb8 |
| tree | e9b02fd70e28ee6e2769b7db983c12923fe0189e |
| parent | e09c05f689bbc5c34e7e7cde89bbf0d28ab56421 |
1 files changed, 1 insertions(+), 0 deletions(-)
src/tokenizer.cpp+1| ... | ... | @@ -1097,6 +1097,7 @@ void tokenize(Buf *buf, Tokenization *out) { |
| 1097 | 1097 | uint32_t digit_value = get_digit_value(c); |
| 1098 | 1098 | if (digit_value >= t.radix) { |
| 1099 | 1099 | tokenize_error(&t, "invalid digit: '%c'", c); |
| 1100 | break; | |
| 1100 | 1101 | } |
| 1101 | 1102 | t.char_code *= t.radix; |
| 1102 | 1103 | t.char_code += digit_value; |