colis-anr / morbig

A static parser for POSIX Shell
Other
190 stars 8 forks source link

Fatal error: exception Invalid_argument("String.sub / Bytes.sub") #86

Closed Niols closed 5 years ago

Niols commented 5 years ago

This is probably linked to #80 and #81.

When parsing:

foo << EOF

(note the empty line), Morbig goes:

Fatal error: exception Invalid_argument("String.sub / Bytes.sub")

when removing the empty line:

Fatal error: exception Morbig__PrelexerState.NotAWord("EOF")
yurug commented 5 years ago

Already fixed. This is indeed a replicate of #80.