|
|
| Author |
Message |
|
| mbj at nortelnetworks.com |
Posted: Tue Oct 26, 2004 8:53 pm |
|
|
|
Guest
|
Hi,
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.
This makes distel:who_calls fail.
I've patched my local erl_syntax.erl to handle this, but that fix is
extremely ad-hoc.
/martin
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
| richardc at csd.uu.se |
Posted: Tue Oct 26, 2004 9:03 pm |
|
|
|
Guest
|
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
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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
|
|
|