X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1f77b2e095492ae95ae6ab33b3ad1f1bf5d758d8..6b5a748937ae95af26d78e9e5e7a335351a2970d:/src/parse-gram.c?ds=inline diff --git a/src/parse-gram.c b/src/parse-gram.c index 7a19cf18..f92f659d 100644 --- a/src/parse-gram.c +++ b/src/parse-gram.c @@ -94,6 +94,7 @@ #include #include "system.h" +#include "c-ctype.h" #include "complain.h" #include "conflicts.h" #include "files.h" @@ -3255,11 +3256,11 @@ add_param (param_type type, char *decl, location loc) /* Strip the surrounding '{' and '}', and any blanks just inside the braces. */ --p; - while (isspace ((unsigned char) *p)) + while (c_isspace ((unsigned char) *p)) --p; p[1] = '\0'; ++decl; - while (isspace ((unsigned char) *decl)) + while (c_isspace ((unsigned char) *decl)) ++decl; }