X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1154ccedaf2f504455446e484932c5c9ffd2a18e..0252b55c07fc9d4b69e668fd2f0204bbe92295a1:/tests/cxx-type.at diff --git a/tests/cxx-type.at b/tests/cxx-type.at index 4e8762f2..1c67c712 100644 --- a/tests/cxx-type.at +++ b/tests/cxx-type.at @@ -1,5 +1,5 @@ # 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 @@ -128,7 +128,7 @@ yylex () 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; }