google/skylark

scanner: incorrect position in error message

Closed this issue · 1 comments

$ skylark
>>> x ! 0
... 
<stdin>:1:4: unexpected input character '!'

The position of the ! in the error message is off by one.

Fixed by #34.