This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34325] Wrong error message for syntax error



------- Comment #9 from terry at chem dot gu dot se  2008-01-23 23:00 -------
Actually, with bad parentheses it's easy to generate strange error messages:



do while ((.true.)
           1
Error: Invalid character in name at (1)


do while (.true.
1
Error: Unclassifiable statement at (1)



Yes, these are trivial examples.  But they demonstrate that new
gfc_match_parens either doesn't work very well, or isn't being called in the
right place.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34325


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]