# Checking GLR Parsing. -*- Autotest -*-
-# Copyright 2002 Free Software Foundation, Inc.
+# Copyright (C) 2002 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
ungetc (c, stdin);
scanf ("%[A-Za-z0-9_]", buffer);
yylval = strdup (buffer);
- return isupper (buffer[0]) ? TYPENAME : ID;
+ return isupper ((unsigned char) buffer[0]) ? TYPENAME : ID;
}
return c;
}