[erlang-questions] Erlang Core problem

Henrique Ferreiro García <>
Sun May 11 23:22:19 CEST 2008


R11B. Do you know in which one was it fixed?

O Dom, 11-05-2008 ás 22:42 +0200, Richard Carlsson escribiu:
> Henrique Ferreiro García wrote:
> > I have a problem when compiling from Core:
> > 
> > $ erlc +to_core list.erl
> > $ erlc +from_core list.core
> > ./list.core:21: syntax error before: LITERAL
> > 
> > Looking at the Core Erlang language specification, there doesn't seem to
> > exist such a construction.
> > 
> > Can anyone explain what is happening here?
> 
> Looks like a minor prettyprinter bug. (It thinks that it has found
> something weird in the abstract syntax tree, and marks it up in a
> funny way to make it more visible, but that makes the code impossible
> to parse back. But the syntax tree was actually correct.)
> 
> However, I think that has been fixed in recent releases. What version
> of Erlang/OTP are you using?
> 
>      /Richard
> 
-- 
Henrique Ferreiro García <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta ? unha parte de mensaxe asinada	dixitalmente
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080511/2c8c5422/attachment.bin>


More information about the erlang-questions mailing list