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
#define YYSTYPE_IS_DECLARED 1
#line 29 "btyacc_calc1.y"
typedef union YYSTYPE
typedef union
{
int ival;
double dval;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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