-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When running the examples, I get the empty String error, although it was suposed to be cautght by the ( |\t|\n) regex
In multiple Runs, this is the results:
> lexing ex/ex1.x
panic: Lexer error: matched the empty string at 0:0 (tc=62) for match id 32.
> lexing ex/ex2.x
panic: Lexer error: matched the empty string at 0:0 (tc=106) for match id 32.
> lexing ex/ex3.x
panic: Lexer error: matched the empty string at 0:0 (tc=195) for match id 32.
go run main.go ex/ex4.x
> lexing ex/ex4.x
panic: Lexer error: matched the empty string at 0:0 (tc=17) for match id 32.
> lexing ex/ex5.x
panic: Lexer error: matched the empty string at 0:0 (tc=261) for match id 32.
> lexing ex/fib.x
panic: Lexer error: matched the empty string at 0:0 (tc=702) for match id 32.
I am investigating, but I am also still learning the inner workings of this code . I do not guarantee to find the issue.
Metadata
Metadata
Assignees
Labels
No labels