colis-anr/morbig

"Failure: lexing: empty token." on scripts ending on a comment without newline.

Niols opened this issue · 0 comments

Niols commented

Morbig fails when parsing a file that ends on a comment but without newline.

$ printf 'echo foo\n# this is a comment' > comment-no-newline
$ morbig --as none comment-no-newline 
Failure: lexing: empty token.