diff options
Diffstat (limited to 'lexer.py')
| -rw-r--r-- | lexer.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -46,6 +46,11 @@ def lex(data): tokens = [] while current < end: char = data[current] + if char == ";": + while char != "\n" and current < end: + current += 1 + char = data[current] + continue if char == "\n": line += 1 if char in WHITESPACE: |
