diff options
author | John Millaway <john43@users.sourceforge.net> | 2006-03-25 17:57:52 +0000 |
---|---|---|
committer | John Millaway <john43@users.sourceforge.net> | 2006-03-25 17:57:52 +0000 |
commit | cc60b503d2a24f3587551c4fa27d93d9d266f835 (patch) | |
tree | af2fa154ed35b363da95f8486a9e64f919dc6007 /parse.y | |
parent | 7b9bd5eeeb81ecf27ee2dea6769040144d422876 (diff) |
Changed explicit 'A'-'Z' to isupper(), where correct to do so.
Documentation.
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -786,7 +786,7 @@ singleton : singleton '*' { ++rulelen; - if ( caseins && $1 >= 'A' && $1 <= 'Z' ) + if ( caseins && isupper($1)) $1 = clower( $1 ); if ($1 == nlch) @@ -867,7 +867,7 @@ ccl : ccl CHAR '-' CHAR | ccl CHAR { - if ( caseins && $2 >= 'A' && $2 <= 'Z' ) + if ( caseins && isupper($2)) $2 = clower( $2 ); ccladd( $1, $2 ); @@ -936,7 +936,7 @@ ccl_expr: string : string CHAR { - if ( caseins && $2 >= 'A' && $2 <= 'Z' ) + if ( caseins && isupper($2)) $2 = clower( $2 ); if ( $2 == nlch ) |