svn commit: r274475 - head/contrib/byacc/test/yacc
Jung-uk Kim
jkim at FreeBSD.org
Thu Nov 13 17:54:25 UTC 2014
Author: jkim
Date: Thu Nov 13 17:54:17 2014
New Revision: 274475
URL: https://svnweb.freebsd.org/changeset/base/274475
Log:
Regen test cases for yacc(1) after r274460. YYINT is int now.
PR: 194982
Modified:
head/contrib/byacc/test/yacc/calc.tab.c
head/contrib/byacc/test/yacc/calc1.tab.c
head/contrib/byacc/test/yacc/calc2.tab.c
head/contrib/byacc/test/yacc/calc3.tab.c
head/contrib/byacc/test/yacc/code_calc.code.c
head/contrib/byacc/test/yacc/code_calc.tab.c
head/contrib/byacc/test/yacc/code_error.code.c
head/contrib/byacc/test/yacc/code_error.tab.c
head/contrib/byacc/test/yacc/empty.tab.c
head/contrib/byacc/test/yacc/err_syntax10.tab.c
head/contrib/byacc/test/yacc/err_syntax11.tab.c
head/contrib/byacc/test/yacc/err_syntax12.tab.c
head/contrib/byacc/test/yacc/err_syntax18.tab.c
head/contrib/byacc/test/yacc/err_syntax20.tab.c
head/contrib/byacc/test/yacc/error.tab.c
head/contrib/byacc/test/yacc/grammar.tab.c
head/contrib/byacc/test/yacc/ok_syntax1.tab.c
head/contrib/byacc/test/yacc/pure_calc.tab.c
head/contrib/byacc/test/yacc/pure_error.tab.c
head/contrib/byacc/test/yacc/quote_calc-s.tab.c
head/contrib/byacc/test/yacc/quote_calc.tab.c
head/contrib/byacc/test/yacc/quote_calc2-s.tab.c
head/contrib/byacc/test/yacc/quote_calc2.tab.c
head/contrib/byacc/test/yacc/quote_calc3-s.tab.c
head/contrib/byacc/test/yacc/quote_calc3.tab.c
head/contrib/byacc/test/yacc/quote_calc4-s.tab.c
head/contrib/byacc/test/yacc/quote_calc4.tab.c
head/contrib/byacc/test/yacc/rename_debug.c
head/contrib/byacc/test/yacc/varsyntax_calc1.tab.c
Modified: head/contrib/byacc/test/yacc/calc.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/calc.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/calc.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -150,7 +150,7 @@ extern int YYPARSE_DECL();
#define LETTER 258
#define UMINUS 259
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT calc_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/calc1.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/calc1.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/calc1.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -175,7 +175,7 @@ extern int YYPARSE_DECL();
#define CONST 259
#define UMINUS 260
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT calc1_lhs[] = { -1,
3, 3, 0, 0, 0, 0, 0, 1, 1, 1,
1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
Modified: head/contrib/byacc/test/yacc/calc2.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/calc2.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/calc2.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -152,7 +152,7 @@ extern int YYPARSE_DECL();
#define LETTER 258
#define UMINUS 259
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT calc2_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/calc3.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/calc3.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/calc3.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -157,7 +157,7 @@ extern int YYPARSE_DECL();
#define LETTER 258
#define UMINUS 259
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT calc3_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/code_calc.code.c
==============================================================================
--- head/contrib/byacc/test/yacc/code_calc.code.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/code_calc.code.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -160,7 +160,7 @@ typedef int YYSTYPE;
#define YYTRANSLATE(a) ((a) > YYMAXTOKEN ? YYUNDFTOKEN : (a))
extern int YYPARSE_DECL();
-typedef short YYINT;
+typedef int YYINT;
extern YYINT yylhs[];
extern YYINT yylen[];
extern YYINT yydefred[];
Modified: head/contrib/byacc/test/yacc/code_calc.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/code_calc.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/code_calc.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -1,4 +1,4 @@
-typedef short YYINT;
+typedef int YYINT;
const YYINT calc_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/code_error.code.c
==============================================================================
--- head/contrib/byacc/test/yacc/code_error.code.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/code_error.code.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -152,7 +152,7 @@ typedef int YYSTYPE;
#define YYTRANSLATE(a) ((a) > YYMAXTOKEN ? YYUNDFTOKEN : (a))
extern int YYPARSE_DECL();
-typedef short YYINT;
+typedef int YYINT;
extern YYINT yylhs[];
extern YYINT yylen[];
extern YYINT yydefred[];
Modified: head/contrib/byacc/test/yacc/code_error.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/code_error.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/code_error.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -1,4 +1,4 @@
-typedef short YYINT;
+typedef int YYINT;
const YYINT error_lhs[] = { -1,
0,
};
Modified: head/contrib/byacc/test/yacc/empty.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/empty.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/empty.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -144,7 +144,7 @@ typedef int YYSTYPE;
extern int YYPARSE_DECL();
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT empty_lhs[] = { -1,
0,
};
Modified: head/contrib/byacc/test/yacc/err_syntax10.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/err_syntax10.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/err_syntax10.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -134,7 +134,7 @@ static void yyerror(const char *);
extern int YYPARSE_DECL();
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT err_syntax10_lhs[] = { -1,
0,
};
Modified: head/contrib/byacc/test/yacc/err_syntax11.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/err_syntax11.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/err_syntax11.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -140,7 +140,7 @@ typedef int YYSTYPE;
extern int YYPARSE_DECL();
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT err_syntax11_lhs[] = { -1,
0,
};
Modified: head/contrib/byacc/test/yacc/err_syntax12.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/err_syntax12.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/err_syntax12.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -141,7 +141,7 @@ extern int YYPARSE_DECL();
#define text 456
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT err_syntax12_lhs[] = { -1,
0,
};
Modified: head/contrib/byacc/test/yacc/err_syntax18.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/err_syntax18.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/err_syntax18.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -140,7 +140,7 @@ typedef int YYSTYPE;
extern int YYPARSE_DECL();
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT err_syntax18_lhs[] = { -1,
0,
};
Modified: head/contrib/byacc/test/yacc/err_syntax20.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/err_syntax20.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/err_syntax20.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -135,7 +135,7 @@ extern int YYPARSE_DECL();
#define recur 257
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT err_syntax20_lhs[] = { -1,
0,
};
Modified: head/contrib/byacc/test/yacc/error.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/error.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/error.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -140,7 +140,7 @@ typedef int YYSTYPE;
extern int YYPARSE_DECL();
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT error_lhs[] = { -1,
0,
};
Modified: head/contrib/byacc/test/yacc/grammar.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/grammar.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/grammar.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -453,7 +453,7 @@ extern int YYPARSE_DECL();
#define T_ASMARG 290
#define T_VA_DCL 291
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT grammar_lhs[] = { -1,
0, 0, 26, 26, 27, 27, 27, 27, 27, 27,
27, 31, 30, 30, 28, 28, 34, 28, 32, 32,
Modified: head/contrib/byacc/test/yacc/ok_syntax1.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/ok_syntax1.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/ok_syntax1.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -178,7 +178,7 @@ extern int YYPARSE_DECL();
#define VT 272
#define UMINUS 273
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT ok_syntax1_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/pure_calc.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/pure_calc.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/pure_calc.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -160,7 +160,7 @@ extern int YYPARSE_DECL();
#define LETTER 258
#define UMINUS 259
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT calc_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/pure_error.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/pure_error.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/pure_error.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -152,7 +152,7 @@ typedef int YYSTYPE;
extern int YYPARSE_DECL();
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT error_lhs[] = { -1,
0,
};
Modified: head/contrib/byacc/test/yacc/quote_calc-s.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/quote_calc-s.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/quote_calc-s.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -156,7 +156,7 @@ extern int YYPARSE_DECL();
#define LETTER 270
#define UMINUS 271
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT quote_calc_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/quote_calc.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/quote_calc.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/quote_calc.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -162,7 +162,7 @@ extern int YYPARSE_DECL();
#define LETTER 270
#define UMINUS 271
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT quote_calc_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/quote_calc2-s.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/quote_calc2-s.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/quote_calc2-s.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -156,7 +156,7 @@ extern int YYPARSE_DECL();
#define LETTER 270
#define UMINUS 271
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT quote_calc2_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/quote_calc2.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/quote_calc2.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/quote_calc2.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -162,7 +162,7 @@ extern int YYPARSE_DECL();
#define LETTER 270
#define UMINUS 271
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT quote_calc2_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/quote_calc3-s.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/quote_calc3-s.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/quote_calc3-s.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -156,7 +156,7 @@ extern int YYPARSE_DECL();
#define LETTER 270
#define UMINUS 271
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT quote_calc3_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/quote_calc3.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/quote_calc3.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/quote_calc3.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -156,7 +156,7 @@ extern int YYPARSE_DECL();
#define LETTER 270
#define UMINUS 271
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT quote_calc3_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/quote_calc4-s.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/quote_calc4-s.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/quote_calc4-s.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -156,7 +156,7 @@ extern int YYPARSE_DECL();
#define LETTER 270
#define UMINUS 271
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT quote_calc4_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/quote_calc4.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/quote_calc4.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/quote_calc4.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -156,7 +156,7 @@ extern int YYPARSE_DECL();
#define LETTER 270
#define UMINUS 271
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT quote_calc4_lhs[] = { -1,
0, 0, 0, 1, 1, 2, 2, 2, 2, 2,
2, 2, 2, 2, 2, 2, 3, 3,
Modified: head/contrib/byacc/test/yacc/rename_debug.c
==============================================================================
--- head/contrib/byacc/test/yacc/rename_debug.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/rename_debug.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -16,7 +16,7 @@
#line 17 "rename_debug.c"
#include "rename_debug.i"
#include "rename_debug.h"
-typedef short YYINT;
+typedef int YYINT;
static const YYINT yylhs[] = { -1,
0,
};
Modified: head/contrib/byacc/test/yacc/varsyntax_calc1.tab.c
==============================================================================
--- head/contrib/byacc/test/yacc/varsyntax_calc1.tab.c Thu Nov 13 17:44:35 2014 (r274474)
+++ head/contrib/byacc/test/yacc/varsyntax_calc1.tab.c Thu Nov 13 17:54:17 2014 (r274475)
@@ -176,7 +176,7 @@ extern int YYPARSE_DECL();
#define CONST 259
#define UMINUS 260
#define YYERRCODE 256
-typedef short YYINT;
+typedef int YYINT;
static const YYINT varsyntax_calc1_lhs[] = { -1,
3, 3, 0, 0, 0, 0, 0, 1, 1, 1,
1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
More information about the svn-src-all
mailing list