|
Yes, we should fix it…
But statement after error is parsed and ast node exists for them.
Is it not correct to make end of error equal to start of next ast node?
19 мая 2015 г. 11:22 пользователь "Marcus Denker" < [hidden email]> написал: I am not entirely sure… it sets the code of the ErrorNode to be just from where we are to the end of the to be parsed text. At that point it is hard to know the real extend of the error… needs to be checked how to do it nicer.
I think we should first get it in a state that we can replace the shout parser (both for syntax highlight and code completion).
Marcus
|