2014-10-06 17:06 GMT+02:00 Marcus Denker <marcus.denker@inria.fr>:
On 06 Oct 2014, at 14:29, Thierry Goubier <thierry.goubier@gmail.com> wrote:
I'm encountering DNUs in the Styler in Pharo 4.0. Is someone else encountering those as well?
A way to reproduce:
RBParser parseFaultyMethod: 'test ^ ()'
When I execute that I do not get any problems with the styler, but the faulty expression parsing itself fails for this input...
(dnu #addParenthesis: on the ErrorNode)
I get the same error in Pharo3.
Marcus
I had the setting on "use AST styler" which explains the DNUs. I turned it
off so that's solved. The sequence above shows that the RBParserErrorNode thing [1] works in some cases and not all. Are you planning something in that area? Thierry [1] encapsulating a syntax error in a RBParserErrorNode so that: styling can happen on a correct part of the code; and that (maybe) parsing can continue.