Euphoria
Ticket #548:
can't compile translated sanity.ex
-
Reported by
ne1uno
Dec 15, 2010
I don't think this same problem has been reported since RC2
demo/sanity.ex translates ok but won't compile
sanity.c(3291): Error! E1009: Expecting ')' but found '{'
in sanity.c
else if (IS_ATOM_INT(_1943)) {
if (binary_op_a(LESS, _xx_12156, _6766){)
goto L3C; // [999] 1021
}
}
Details
1. Comment by mattlewis
Dec 15, 2010
There was a typo in the emitted code, transposing the closing brace with the closing paren.
2. Comment by mattlewis
Dec 20, 2010
Updated as a translator bug.