The purpose of this issue was to enable multiple line in one "query" and the goal was achieved.
Before merge :
[x] Fix the issue #11, when there is a IllegalCharError, the error doesn't point to the correct char,
$ mona
Mona v0.1.0-alpha, to exit enter `.quit` and to finish a query just enter `.eof`.
You're in a debug binary, if it's not intentional, you should change.
Flags: Lexer,Parser,
~> a
> @
> .eof
Err: Lexer, in file `<stdin>` at line 1 :
... |
1 | a
... | ^
Illegal Character
~>
should look like that,
$ mona
Mona v0.1.0-alpha, to exit enter `.quit` and to finish a query just enter `.eof`.
You're in a debug binary, if it's not intentional, you should change.
Flags: Lexer,Parser,
~> a
> @
> .eof
Err: Lexer, in file `<stdin>` at line 1 :
... |
2 | @
... | ^
Illegal Character
~>
The purpose of this issue was to enable multiple line in one "query" and the goal was achieved.
Before merge :
IllegalCharError
, the error doesn't point to the correct char,should look like that,