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.

Reply via email to