Commit
90f346cc0 "Made var_is_valid_name more permissive" made characters
with values above 127 valid in identifiers by allowing them in
lex_is_id1() and lex_is_idn(), but since the latter includes the former
in its test the addition there is redundant and can be eliminated.
/* PSPP - a program for statistical analysis.
- Copyright (C) 1997-9, 2000, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000, 2005, 2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
lex_is_idn (char c_)
{
unsigned char c = c_;
- return lex_is_id1 (c) || isdigit (c) || c == '.' || c == '_' || c >= 128;
+ return lex_is_id1 (c) || isdigit (c) || c == '.' || c == '_';
}
/* Returns the length of the longest prefix of STRING that forms