erlc (R9C) hangs when last line is missing EOF
Peter-Henry Mander
erlang@REDACTED
Thu Sep 18 07:46:59 CEST 2003
I've seen this on SuSE 8.2 linux too. There's an easy work-around (-:
Pete.
Chris Pressey wrote:
> Try this:
>
>
> -module(blah).
> %%% BEGIN blah %%%
> -export([foo/0]).
> 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.
>
> -Chris
>
>
More information about the erlang-questions
mailing list