In metaborg-sl, when parsing the following program in Spoofax 2.4.0-SNAPSHOT (20171026-103626)

function E30(O1, Q) {
  return 1 < 1 / 1 || a.b = 1;
}

the parser crashes with an “Internal parsing error: org.spoofax.jsglr.client.FilterException: Runtime exception when applying filters (recovery failed)”. This is probably because in the context-free priorities Exp.Div is missing. However, the parser should not crash in such a case.

Submitted by Martijn on 20 November 2017 at 04:29

Log in to post comments