X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/2e350a617f9f770c92c99da491419fbd08155e8a..457bf91968a87a01dfb5317b008497ac4dcde8a4:/src/parse-gram.y diff --git a/src/parse-gram.y b/src/parse-gram.y index 02af75e2..3120bfc2 100644 --- a/src/parse-gram.y +++ b/src/parse-gram.y @@ -20,6 +20,7 @@ #include #include "system.h" +#include "c-ctype.h" #include "complain.h" #include "conflicts.h" #include "files.h" @@ -735,11 +736,11 @@ add_param (char const *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; if (! name_start)