colis-anr / morbig

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

Fatal error: exception Stdlib.Queue.Empty #84

Closed Niols closed 5 years ago

Niols commented 5 years ago

When parsing:

<<

or:

cat EOF <<

(which is clearly a mistake for the script's author), Morbig fails with:

Fatal error: exception Stdlib.Queue.Empty
treinen commented 5 years ago

this is a problem in the finite state machine for here documents which needs to be refined. I take this one.