X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fidentifier.c;h=37384b6d7786f24f46f6b5e6a785ffc87f44116e;hb=90f346cc0;hp=a52944e2757a11db7ace38273283d081581d0375;hpb=dd5535725f86158e55b3fc263c17058005b0c0a5;p=pspp-builds.git diff --git a/src/data/identifier.c b/src/data/identifier.c index a52944e2..37384b6d 100644 --- a/src/data/identifier.c +++ b/src/data/identifier.c @@ -35,7 +35,7 @@ bool lex_is_id1 (char c_) { unsigned char c = c_; - return isalpha (c) || c == '@' || c == '#' || c == '$'; + return isalpha (c) || c == '@' || c == '#' || c == '$' || c >= 128; } @@ -45,7 +45,7 @@ bool lex_is_idn (char c_) { unsigned char c = c_; - return lex_is_id1 (c) || isdigit (c) || c == '.' || c == '_'; + return lex_is_id1 (c) || isdigit (c) || c == '.' || c == '_' || c >= 128; } /* Returns the length of the longest prefix of STRING that forms