byacc: Adjust expected test output to match our patches.

Sponsored by:	Klara, Inc.
This commit is contained in:
Dag-Erling Smørgrav 2023-02-22 20:04:06 +01:00
parent 5f51c9c328
commit 30c91a3cee
34 changed files with 34 additions and 34 deletions

View file

@ -147,7 +147,7 @@ INTERVAL vreg[26];
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 29 "btyacc_calc1.y" #line 29 "btyacc_calc1.y"
typedef union YYSTYPE typedef union
{ {
int ival; int ival;
double dval; double dval;

View file

@ -11,7 +11,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
int ival; int ival;
double dval; double dval;

View file

@ -152,7 +152,7 @@ typedef struct Decl {
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 36 "btyacc_demo.y" #line 36 "btyacc_demo.y"
typedef union YYSTYPE { typedef union {
Scope *scope; Scope *scope;
Expr *expr; Expr *expr;
Expr_List *elist; Expr_List *elist;

View file

@ -20,7 +20,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE { typedef union {
Scope *scope; Scope *scope;
Expr *expr; Expr *expr;
Expr_List *elist; Expr_List *elist;

View file

@ -148,7 +148,7 @@ extern symbol *mksymbol(type t, class c, name id);
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 50 "btyacc_destroy1.y" #line 50 "btyacc_destroy1.y"
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -12,7 +12,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -148,7 +148,7 @@ extern symbol *mksymbol(type t, class c, name id);
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 50 "btyacc_destroy2.y" #line 50 "btyacc_destroy2.y"
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -12,7 +12,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -148,7 +148,7 @@ extern symbol *mksymbol(type t, class c, name id);
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 53 "btyacc_destroy3.y" #line 53 "btyacc_destroy3.y"
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -12,7 +12,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -150,7 +150,7 @@ INTERVAL vreg[26];
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 31 "calc1.y" #line 31 "calc1.y"
typedef union YYSTYPE typedef union
{ {
int ival; int ival;
double dval; double dval;

View file

@ -11,7 +11,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
int ival; int ival;
double dval; double dval;

View file

@ -143,7 +143,7 @@ extern symbol *mksymbol(type t, class c, name id);
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 39 "err_inherit3.y" #line 39 "err_inherit3.y"
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -12,7 +12,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -151,7 +151,7 @@ extern symbol *mksymbol(type t, class c, name id);
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 41 "err_inherit4.y" #line 41 "err_inherit4.y"
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -12,7 +12,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -137,7 +137,7 @@ extern void yyerror(const char *);
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 31 "expr.oxout.y" #line 31 "expr.oxout.y"
typedef union YYSTYPE { typedef union {
struct yyyOxAttrbs { struct yyyOxAttrbs {
struct yyyStackItem *yyyOxStackItem; struct yyyStackItem *yyyOxStackItem;
} yyyOxAttrbs; } yyyOxAttrbs;

View file

@ -9,7 +9,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE { typedef union {
struct yyyOxAttrbs { struct yyyOxAttrbs {
struct yyyStackItem *yyyOxStackItem; struct yyyStackItem *yyyOxStackItem;
} yyyOxAttrbs; } yyyOxAttrbs;

View file

@ -145,7 +145,7 @@ extern void YYERROR_DECL();
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 32 "inherit1.y" #line 32 "inherit1.y"
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -12,7 +12,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -143,7 +143,7 @@ extern symbol *mksymbol(type t, class c, name id);
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 39 "inherit2.y" #line 39 "inherit2.y"
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -12,7 +12,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
class cval; class cval;
type tval; type tval;

View file

@ -137,7 +137,7 @@ static void YYERROR_DECL();
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 43 "ok_syntax1.y" #line 43 "ok_syntax1.y"
typedef union YYSTYPE typedef union
{ {
char * cval; char * cval;
int ival; int ival;

View file

@ -23,7 +23,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
char * cval; char * cval;
int ival; int ival;

View file

@ -151,7 +151,7 @@ INTERVAL vreg[26];
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 32 "varsyntax_calc1.y" #line 32 "varsyntax_calc1.y"
typedef union YYSTYPE typedef union
{ {
int ival; /* dreg & vreg array index values*/ int ival; /* dreg & vreg array index values*/
double dval; /* floating point values*/ double dval; /* floating point values*/

View file

@ -11,7 +11,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
int ival; /* dreg & vreg array index values*/ int ival; /* dreg & vreg array index values*/
double dval; /* floating point values*/ double dval; /* floating point values*/

View file

@ -130,7 +130,7 @@ INTERVAL vreg[26];
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 31 "calc1.y" #line 31 "calc1.y"
typedef union YYSTYPE typedef union
{ {
int ival; int ival;
double dval; double dval;

View file

@ -8,7 +8,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
int ival; int ival;
double dval; double dval;

View file

@ -117,7 +117,7 @@ extern void yyerror(const char *);
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 31 "expr.oxout.y" #line 31 "expr.oxout.y"
typedef union YYSTYPE { typedef union {
struct yyyOxAttrbs { struct yyyOxAttrbs {
struct yyyStackItem *yyyOxStackItem; struct yyyStackItem *yyyOxStackItem;
} yyyOxAttrbs; } yyyOxAttrbs;

View file

@ -6,7 +6,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE { typedef union {
struct yyyOxAttrbs { struct yyyOxAttrbs {
struct yyyStackItem *yyyOxStackItem; struct yyyStackItem *yyyOxStackItem;
} yyyOxAttrbs; } yyyOxAttrbs;

View file

@ -117,7 +117,7 @@ static void YYERROR_DECL();
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 43 "ok_syntax1.y" #line 43 "ok_syntax1.y"
typedef union YYSTYPE typedef union
{ {
char * cval; char * cval;
int ival; int ival;

View file

@ -20,7 +20,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
char * cval; char * cval;
int ival; int ival;

View file

@ -131,7 +131,7 @@ INTERVAL vreg[26];
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
#line 32 "varsyntax_calc1.y" #line 32 "varsyntax_calc1.y"
typedef union YYSTYPE typedef union
{ {
int ival; /* dreg & vreg array index values*/ int ival; /* dreg & vreg array index values*/
double dval; /* floating point values*/ double dval; /* floating point values*/

View file

@ -8,7 +8,7 @@
#endif #endif
#ifndef YYSTYPE_IS_DECLARED #ifndef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1 #define YYSTYPE_IS_DECLARED 1
typedef union YYSTYPE typedef union
{ {
int ival; /* dreg & vreg array index values*/ int ival; /* dreg & vreg array index values*/
double dval; /* floating point values*/ double dval; /* floating point values*/