Commit 643b9b6
committed
[ fixed #46 ] give proper error when no lexing rules
The new error
file.x contains no lexer rules
can be tested with file.x containing
:- <0> { }
The previous error was
(Array.!): undefined array element
(I did not find a testsuite testing for error messages Alex gives, thus,
no test case with this commit.)1 parent 0198f73 commit 643b9b6
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
| |||
0 commit comments