mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-09 04:36:31 +00:00
byacc: Adjust expected test output to match our patches.
Sponsored by: Klara, Inc.
This commit is contained in:
parent
5f51c9c328
commit
30c91a3cee
|
@ -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;
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#endif
|
||||
#ifndef YYSTYPE_IS_DECLARED
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
typedef union YYSTYPE
|
||||
typedef union
|
||||
{
|
||||
int ival;
|
||||
double dval;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#endif
|
||||
#ifndef YYSTYPE_IS_DECLARED
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
typedef union YYSTYPE
|
||||
typedef union
|
||||
{
|
||||
class cval;
|
||||
type tval;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#endif
|
||||
#ifndef YYSTYPE_IS_DECLARED
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
typedef union YYSTYPE
|
||||
typedef union
|
||||
{
|
||||
class cval;
|
||||
type tval;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#endif
|
||||
#ifndef YYSTYPE_IS_DECLARED
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
typedef union YYSTYPE
|
||||
typedef union
|
||||
{
|
||||
class cval;
|
||||
type tval;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#endif
|
||||
#ifndef YYSTYPE_IS_DECLARED
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
typedef union YYSTYPE
|
||||
typedef union
|
||||
{
|
||||
int ival;
|
||||
double dval;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#endif
|
||||
#ifndef YYSTYPE_IS_DECLARED
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
typedef union YYSTYPE
|
||||
typedef union
|
||||
{
|
||||
class cval;
|
||||
type tval;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#endif
|
||||
#ifndef YYSTYPE_IS_DECLARED
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
typedef union YYSTYPE
|
||||
typedef union
|
||||
{
|
||||
class cval;
|
||||
type tval;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#endif
|
||||
#ifndef YYSTYPE_IS_DECLARED
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
typedef union YYSTYPE
|
||||
typedef union
|
||||
{
|
||||
class cval;
|
||||
type tval;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#endif
|
||||
#ifndef YYSTYPE_IS_DECLARED
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
typedef union YYSTYPE
|
||||
typedef union
|
||||
{
|
||||
class cval;
|
||||
type tval;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#endif
|
||||
#ifndef YYSTYPE_IS_DECLARED
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
typedef union YYSTYPE
|
||||
typedef union
|
||||
{
|
||||
char * cval;
|
||||
int ival;
|
||||
|
|
|
@ -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*/
|
||||
|
|
|
@ -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*/
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#endif
|
||||
#ifndef YYSTYPE_IS_DECLARED
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
typedef union YYSTYPE
|
||||
typedef union
|
||||
{
|
||||
int ival;
|
||||
double dval;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#endif
|
||||
#ifndef YYSTYPE_IS_DECLARED
|
||||
#define YYSTYPE_IS_DECLARED 1
|
||||
typedef union YYSTYPE
|
||||
typedef union
|
||||
{
|
||||
char * cval;
|
||||
int ival;
|
||||
|
|
|
@ -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*/
|
||||
|
|
|
@ -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*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user