Nodeclipse / coffeescript-eclipse

CoffeeScript plugin for Eclipse using XText (moved to Nodeclipse; looking for new owner)
http://www.nodeclipse.org/coffeescript/
20 stars 9 forks source link

Syntax errors break XtextReconciler and outline #25

Open jthomaskerr opened 10 years ago

jthomaskerr commented 10 years ago

Attempting to parse the following snippet

console.log 'a',

causes the CoffeeRewriter to (correctly) raise a syntax error. However, the rewriter then removes all tokens following that error (at CoffeeRewriter:868). This causes the reconciler to throw an error (with the same symptoms as Nodeclipse#19).

Throwing out the entire remainder of the parse, while safe, does not appear to be the correct action here.

paulvi commented 10 years ago

Looking again. @jokester01au Can you point to the exact class, line number?