home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.g++.bug
- From: chip@tct.COM (Chip Salzenberg)
- Subject: Fixes for Saber-detected G++ bugs
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Fri, 6 Mar 1992 19:50:31 GMT
-
- Thanks to Gerald Baumgartner for running G++ 2.0 under Saber C. The
- bugs he found will, I think, be fixed by these patches:
-
- Index: cp-spew.c
- *************** static int debug_yychar ();
- *** 72,77 ****
- #endif
-
- ! static char follows_typename[END_OF_SAVED_INPUT];
- ! static char follows_identifier[END_OF_SAVED_INPUT];
-
- /* This is a hack!!! TEMPLATE_TYPE_SEEN_BEFORE_SCOPE consists of the name
- --- 72,77 ----
- #endif
-
- ! static char follows_typename[END_OF_SAVED_INPUT + 1];
- ! static char follows_identifier[END_OF_SAVED_INPUT + 1];
-
- /* This is a hack!!! TEMPLATE_TYPE_SEEN_BEFORE_SCOPE consists of the name
- *************** yylex()
- *** 342,345 ****
- --- 342,346 ----
- tmp_token.yychar = real_yylex();
- tmp_token.yylval = yylval;
- + tmp_token.end_of_file = end_of_file;
- add_token(&tmp_token);
- }
-
- --
- Chip Salzenberg at Teltronics/TCT <chip@tct.com>, <73717.366@compuserve.com>
-
-
-