cccp.c (create_definition): Fix end of bufer logic.

Wed Dec  9 12:15:26 1998  Dave Brolley  <brolley@cygnus.com>
	* cccp.c (create_definition): Fix end of bufer logic.

From-SVN: r24205
This commit is contained in:
Dave Brolley 1998-12-09 09:17:52 +00:00 committed by Dave Brolley
parent 3b89e9d1ff
commit bdf777e4a4
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Wed Dec 9 12:15:26 1998 Dave Brolley <brolley@cygnus.com>
* cccp.c (create_definition): Fix end of bufer logic.
Wed Dec 9 10:15:45 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* except.c (duplicate_eh_handlers, rethrow_symbol_map): Function

View File

@ -5878,8 +5878,8 @@ create_definition (buf, limit, op)
SKIP_WHITE_SPACE (bp);
/* A comma at this point can only be followed by an identifier. */
if (!is_idstart[*bp]
&& (c9x && limit - bp <= (long) REST_EXTENSION_LENGTH
|| bcmp (rest_extension, bp, REST_EXTENSION_LENGTH) != 0)) {
&& !(c9x && limit - bp > (long) REST_EXTENSION_LENGTH
&& bcmp (rest_extension, bp, REST_EXTENSION_LENGTH) == 0)) {
error ("badly punctuated parameter list in `#define'");
goto nope;
}