]> git.saurik.com Git - bison.git/commit - src/scan-gram.l
use locale-indep. c_is* functions for parsing, not isspace, isprint etc
authorJim Meyering <meyering@redhat.com>
Sun, 5 Aug 2012 11:28:01 +0000 (13:28 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 3 Sep 2012 17:45:03 +0000 (19:45 +0200)
commit457bf91968a87a01dfb5317b008497ac4dcde8a4
treedef7467177e219629ae0f38bbd713f96bc12d073
parent2e350a617f9f770c92c99da491419fbd08155e8a
use locale-indep. c_is* functions for parsing, not isspace, isprint etc

* src/parse-gram.y: Include "c-ctype.h".
(add_param): Parse with c_isspace, not isspace.
* src/parse-gram.c: Likewise.
* src/scan-gram.l: Include c-ctype.h, not ctype.h.
(SC_ESCAPED_STRING,SC_ESCAPED_CHARACTER): Use c_isspace and c_isprint,
not ctype.h's locale-dependent functions.
src/parse-gram.c
src/parse-gram.y
src/scan-gram.l