Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  Strange compiler crash with defines

Luna
Posted: Thu Sep 14, 2006 8:10 am Reply with quote
User Joined: 27 Feb 2005 Posts: 23
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
--
Daniel Luna | Top reasons that I have a beard:
luna@update.uu.se | a) Laziness.
http://www.update.uu.se/~luna/ | b) I can.
Don't look at my homepage (it stinks).| c) I can get away with it.
_______________________________________________
erlang-bugs mailing list
erlang-bugs@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-bugs
Post recived from mailinglist
View user's profile Send private message Send e-mail

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