erl_syntax

Richard Carlsson richardc@REDACTED
Tue Oct 26 23:02:42 CEST 2004


Martin Bjorklund wrote:

> erl_syntax in R10B is not erl_parse compatible for 'try' expressions.
> 
> erl_syntax thinks a 'try' is {'try', Pos, Body, Claues, Handlers}, but
> in erl_parse try is {'try', Pos, Body, Clause, Handlers, AfterExprs}
> (see erl_parse.yrl:build_try)
> 
> Also, within erl_syntax.erl itself, the Body in the 'try' expression
> is sometimes [synatx_tree()] and sometimes just syntax_tree(), which
> makes it crash.

Thanks for the details. I know I haven't had time to update the
syntax tools for R10. I hope it will be done at least until R10-2.
(Right now I'm working on exception handling in HiPE for R10-1.)

	/Richard



More information about the erlang-bugs mailing list