mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
Use 'short int' rather than 'short', and similarly for 'long', 'unsigned', etc.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Exercising Bison on actual grammars. -*- Autotest -*-
|
||||
|
||||
# Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003
|
||||
# Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003, 2004
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
@@ -372,9 +372,9 @@ AT_SETUP([GNU Cim Grammar])
|
||||
|
||||
AT_DATA([[input.y]],
|
||||
[[%union {
|
||||
long token;
|
||||
long ival;
|
||||
long arrdim;
|
||||
long int token;
|
||||
long int ival;
|
||||
long int arrdim;
|
||||
double rval;
|
||||
char *ident;
|
||||
char *tval;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Bison Regressions. -*- Autotest -*-
|
||||
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2001, 2002, 2003, 2004 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
|
||||
@@ -535,7 +535,7 @@ AT_CLEANUP
|
||||
#
|
||||
# It used to be wrong on yydefact only:
|
||||
#
|
||||
# static const short yydefact[] =
|
||||
# static const short int yydefact[] =
|
||||
# {
|
||||
# - 2, 0, 1, 0, 0, 2, 3, 2, 5, 4,
|
||||
# + 2, 0, 1, 0, 0, 0, 3, 2, 5, 4,
|
||||
@@ -613,7 +613,7 @@ static const char *const yytname[] =
|
||||
"$end", "error", "$undefined", "\"if\"", "\"const\"", "\"then\"",
|
||||
"\"else\"", "$accept", "statement", "struct_stat", "if", "else", 0
|
||||
};
|
||||
static const unsigned short yytoknum[] =
|
||||
static const unsigned short int yytoknum[] =
|
||||
{
|
||||
0, 256, 257, 258, 259, 260, 261
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user