[Bug c++/15787] Poor error message

igodard at pacbell dot net gcc-bugzilla@gcc.gnu.org
Wed Jun 2 21:37:00 GMT 2004


------- Additional Comments From igodard at pacbell dot net  2004-06-02 21:37 -------
p.s. Also put the line number of the opener in the info on that side stack. Then you can say "expected...; possibly a missing '}' matching the '{' on line 17?".

You wouldn't really need this in Algol68 or other languages with distinct opener/closer pairs, but in C with the heavy overload of "{}" and "()" it would be real helpful. And you *are* trying to be helpful, aren't you? :-)

Ivan

-- 


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



More information about the Gcc-bugs mailing list