Mon Sep 19 14:29:06 CEST 2005
Roger Price <rprice@REDACTED> writes:
> I'm trying to understand the possibilities offered by module
> attributes. My source file "test.erl" contains just the two lines:
> -module (test) .
> -bad_binary(<<10,20>>) .
> I'm using Erlang (BEAM) emulator version 5.4.6 [source] [hipe], and
> the compiler crashes as follows:
Corrected. The correction will appear in R10B-8.
> In the Erlang Reference Manual 5.4.6: Clause 4.2 Module Attributes,
> says that a module attribute consists of a tag and a value. -Tag(Term)
I have changed it to say that the values for Module Attributes are
> Shouldn't clause 4.2 say that a Module Attribute is -Tag(BasicTerm)
> where BasicTerm is an integer, real number, atom or string?
List, tuples, and literal strings are also allowed.
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-questions