diff options
author | Dave Brolley <brolley@cygnus.com> | 1998-12-09 09:17:52 +0000 |
---|---|---|
committer | Dave Brolley <brolley@gcc.gnu.org> | 1998-12-09 04:17:52 -0500 |
commit | bdf777e4a4ab6e2e988dc45c0bdd682f508f43de (patch) | |
tree | 540ec9a44f0c424b7e01a02df69457c95e76ccd1 /gcc/cccp.c | |
parent | 3b89e9d1ff07d989a9bd398814ae8f1505f17e99 (diff) | |
download | gcc-bdf777e4a4ab6e2e988dc45c0bdd682f508f43de.zip gcc-bdf777e4a4ab6e2e988dc45c0bdd682f508f43de.tar.gz gcc-bdf777e4a4ab6e2e988dc45c0bdd682f508f43de.tar.bz2 |
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
Diffstat (limited to 'gcc/cccp.c')
-rw-r--r-- | gcc/cccp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |