summaryrefslogtreecommitdiff
path: root/src/backend/parser/scan.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/parser/scan.l')
-rw-r--r--src/backend/parser/scan.l7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/parser/scan.l b/src/backend/parser/scan.l
index 51710c1c39..2c68f0976a 100644
--- a/src/backend/parser/scan.l
+++ b/src/backend/parser/scan.l
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.83 2000/11/16 22:47:44 petere Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.84 2000/12/03 20:45:34 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -478,9 +478,8 @@ other .
ScanKeyword *keyword;
for(i = 0; yytext[i]; i++)
- if (isascii((int) yytext[i]) &&
- isupper((int) yytext[i]))
- yytext[i] = tolower(yytext[i]);
+ if (isupper((unsigned char) yytext[i]))
+ yytext[i] = tolower((unsigned char) yytext[i]);
if (i >= NAMEDATALEN)
{
#ifdef MULTIBYTE