Open djrieger opened 9 years ago
Nailed down to these cases:
parser_incorrect/EOFBeforeClassEnd.mj
at line 2, column 16, parsing "=": expected "("
public int a = 5;
^
at line 2, column 16, parsing "=": expected Type
public int a = 5;
^
parser_incorrect/WrongLocalVariableDecl.mj
at line 12, column 1, parsing "}": expected "("
}
^
at line 12, column 1, parsing "}": expected Type
}
^
With d7edc350b989478ad660658dc44120db7d65da11 I implemented the reporting of multiple parser errors. Everything seems to be running smoothly, all tests pass.
Some reports are quite nice and make sense:
But others such as these need to be corrected/improved: