X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1154ccedaf2f504455446e484932c5c9ffd2a18e..c97011bfc1cabd3f7aa8e263f83d9e8a18a262bf:/tests/cxx-type.at?ds=sidebyside 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; }