[Bug c/44515] improve message for missing ";"
dmalcolm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 28 19:39:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44515
--- Comment #7 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
The patch kit I proposed here:
https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01744.html
and adds a fix-it hint and improves the location, making the successor token be
a secondary location within the diagnostic:
t.c: In function ‘foo’:
t.c:4:8: error: expected ‘;’ before ‘}’ token
bar()
^
;
t.c:7:1:
}
~
It doesn't change the wording though.
More information about the Gcc-bugs
mailing list