Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  Strange compiler crash with defines

Guest
Posted: Fri Oct 27, 2006 8:15 am Reply with quote
Guest
Hi,

Thanks for the bug report. The error has been fixed in R11B-2.

Regards,
Gunilla, Erlang/OTP team

Daniel Luna wrote:
> I found this error a couple of years ago, but forgot to send it in.
>
>> cat error.erl
> -undef(ASSERT).
> -define(ASSERT, ?MODULE).
>
> ?ASSERT().
>
>> erlc error.erl
>
> =ERROR REPORT==== 14-Sep-2006::09:49:13 ===
> Error in process <0.21.0> with exit value:
> {{case_clause,{'EXIT',{function_clause,[{epp,check_uses,[undefined,[{atom,'MODULE'},{atom,'ASSERT'}],{dict,7,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[],[],[],[[{atom,'MACHINE'}],[{atom,'MODULE'}|undefined],[{atom,'LINE'}],[{atom,'FILE'}]],[],[],[],[],[[{...
>
> ./error.erl:none: internal error in parse_module;
> [snip]
>
> /Luna

_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-bugs
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum