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 c++/26058] [4.0/4.1/4.2 Regression] C++ error recovery regression



------- Comment #7 from sabre at nondot dot org  2006-05-31 22:17 -------
Ok, makes sense.  The strategy that made sense to me was "If I see a definition
for something that obviously has to be at global scope, but is defined inside
of a function, pop all the way out to global scope and continue, there must be
a missing }".  I have no idea how hard that is to implement though.  If you
think it's infeasible to implement or would confuse some other important case,
then I'm ok with RESOLVED INVALID.

-Chris


-- 


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


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