erlc (R9C) hangs when last line is missing EOF

Chris Pressey <>
Thu Sep 18 04:37:04 CEST 2003

Try this:

%%% BEGIN blah %%%
foo() -> bar.
%%% END of blah %%%
                   ^ do not include an EOL here.

# erlc foo.erl
<<indefinate hang>>

This happens for me both on FreeBSD-4.9 PRERELEASE and Windows 98. 
(Also, I can't seem to gracefully kill erlc on Windows 98 when this
happens - Ctrl-C gives me the menu, but the 'a' option doesn't work.)

This only seems to happen when the last line is a comment AND is missing
an EOL.


More information about the erlang-bugs mailing list