https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56520
--- Comment #6 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Tue, Jul 07, 2015 at 05:23:17PM +0000, casey.webster at gmail dot com wrote: > > Also, while I'll agree that "Unclassifiable statement" is better > than "Invalid character in name", it would be nicer to see > "Unbalanced parenthesis". > I'm sorry that gfortran does not meet your needs. But, given how gfortran's matchers work, I doubt that anyone will produce a patch to do what you want. I could be wrong. Maybe someone will take up the challenge. The patch I developed and committed specifically addresses a problem where the error message and the locus to which it pointed are simply wrong. In 'c = exp(+a))', the old error message pointed to '+', which is a valid token in a valid expression.