Bug 1036 : Improve detection and handling of missing semicolons
Last modified: 2010-03-28 10:26




Status:
ASSIGNED
Resolution:
-
Priority:
P2
Severity:
enhancement

 

Reporter:
fry
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-11-21 15:44
Closing bug #12 because the error messages themselves are at least better,
but detection isn't perfect. (Which is why the "Maybe missing a semicolon?"
has a question mark at the end.)
Additional Comment #1 From MrFeinberg 2010-03-15 14:13
Please add example.
Additional Comment #2 From fry 2010-03-17 13:17
this is another one where it's just a matter of taking a couple of the
built-in examples and removing semicolons to see how it chokes. the antlr
message is being trapped, but the result is a split problem: 1) the message
is ugly, so it's being caught and altered to be a little friendlier, but 2)
since it's not always b/c a semicolon is missing, it can't just say
"missing ;" instead it's got that ? at the end. which isn't just because
the preprocessor as a passive and friendly character.
Additional Comment #3 From fry 2010-03-28 10:26
realized you may not have received the updates on this one.
This bug is now being tracked here.