erlc (R9C) hangs when last line is missing EOF
Thu Sep 18 07:46:59 CEST 2003
I've seen this on SuSE 8.2 linux too. There's an easy work-around (-:
Chris Pressey wrote:
> 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-questions