Open phongphan opened 8 years ago
Hi
Looks like mindycomp's lexer incorrectly emitting symbol with a trailing '\r' to make_token function, result in unusable module.
mindycomp
make_token
step to reproduct:
mindycomp -ldylan strings.dylan
The result dbc file might be a bit bigger than the one that using Unix line-ending and cannot be load by mindy interpreter.
dbc
mindy
The bottom is the result from CRLF source file. The offending token is Dyland^M.
Dyland^M
Hi
Looks like
mindycomp
's lexer incorrectly emitting symbol with a trailing '\r' tomake_token
function, result in unusable module.step to reproduct:
mindycomp -ldylan strings.dylan
The result
dbc
file might be a bit bigger than the one that using Unix line-ending and cannot be load bymindy
interpreter.The bottom is the result from CRLF source file. The offending token is
Dyland^M
.