Store auto-generated files.
This commit is contained in:
parent
90113274e2
commit
080913ddbf
3268
gcc/c-parse.c
3268
gcc/c-parse.c
File diff suppressed because it is too large
Load Diff
129
gcc/c-parse.h
129
gcc/c-parse.h
|
@ -1,64 +1,73 @@
|
|||
#ifndef BISON_C_PARSE_H
|
||||
# define BISON_C_PARSE_H
|
||||
|
||||
#ifndef YYSTYPE
|
||||
typedef union {long itype; tree ttype; enum tree_code code;
|
||||
char *filename; int lineno; int ends_in_label; } YYSTYPE;
|
||||
#define IDENTIFIER 258
|
||||
#define TYPENAME 259
|
||||
#define SCSPEC 260
|
||||
#define TYPESPEC 261
|
||||
#define TYPE_QUAL 262
|
||||
#define CONSTANT 263
|
||||
#define STRING 264
|
||||
#define ELLIPSIS 265
|
||||
#define SIZEOF 266
|
||||
#define ENUM 267
|
||||
#define STRUCT 268
|
||||
#define UNION 269
|
||||
#define IF 270
|
||||
#define ELSE 271
|
||||
#define WHILE 272
|
||||
#define DO 273
|
||||
#define FOR 274
|
||||
#define SWITCH 275
|
||||
#define CASE 276
|
||||
#define DEFAULT 277
|
||||
#define BREAK 278
|
||||
#define CONTINUE 279
|
||||
#define RETURN 280
|
||||
#define GOTO 281
|
||||
#define ASM_KEYWORD 282
|
||||
#define TYPEOF 283
|
||||
#define ALIGNOF 284
|
||||
#define ATTRIBUTE 285
|
||||
#define EXTENSION 286
|
||||
#define LABEL 287
|
||||
#define REALPART 288
|
||||
#define IMAGPART 289
|
||||
#define ASSIGN 290
|
||||
#define OROR 291
|
||||
#define ANDAND 292
|
||||
#define EQCOMPARE 293
|
||||
#define ARITHCOMPARE 294
|
||||
#define LSHIFT 295
|
||||
#define RSHIFT 296
|
||||
#define UNARY 297
|
||||
#define PLUSPLUS 298
|
||||
#define MINUSMINUS 299
|
||||
#define HYPERUNARY 300
|
||||
#define POINTSAT 301
|
||||
#define INTERFACE 302
|
||||
#define IMPLEMENTATION 303
|
||||
#define END 304
|
||||
#define SELECTOR 305
|
||||
#define DEFS 306
|
||||
#define ENCODE 307
|
||||
#define CLASSNAME 308
|
||||
#define PUBLIC 309
|
||||
#define PRIVATE 310
|
||||
#define PROTECTED 311
|
||||
#define PROTOCOL 312
|
||||
#define OBJECTNAME 313
|
||||
#define CLASS 314
|
||||
#define ALIAS 315
|
||||
#define OBJC_STRING 316
|
||||
char *filename; int lineno; int ends_in_label; } yystype;
|
||||
# define YYSTYPE yystype
|
||||
# define YYSTYPE_IS_TRIVIAL 1
|
||||
#endif
|
||||
# define IDENTIFIER 257
|
||||
# define TYPENAME 258
|
||||
# define SCSPEC 259
|
||||
# define TYPESPEC 260
|
||||
# define TYPE_QUAL 261
|
||||
# define CONSTANT 262
|
||||
# define STRING 263
|
||||
# define ELLIPSIS 264
|
||||
# define SIZEOF 265
|
||||
# define ENUM 266
|
||||
# define STRUCT 267
|
||||
# define UNION 268
|
||||
# define IF 269
|
||||
# define ELSE 270
|
||||
# define WHILE 271
|
||||
# define DO 272
|
||||
# define FOR 273
|
||||
# define SWITCH 274
|
||||
# define CASE 275
|
||||
# define DEFAULT 276
|
||||
# define BREAK 277
|
||||
# define CONTINUE 278
|
||||
# define RETURN 279
|
||||
# define GOTO 280
|
||||
# define ASM_KEYWORD 281
|
||||
# define TYPEOF 282
|
||||
# define ALIGNOF 283
|
||||
# define ATTRIBUTE 284
|
||||
# define EXTENSION 285
|
||||
# define LABEL 286
|
||||
# define REALPART 287
|
||||
# define IMAGPART 288
|
||||
# define ASSIGN 289
|
||||
# define OROR 290
|
||||
# define ANDAND 291
|
||||
# define EQCOMPARE 292
|
||||
# define ARITHCOMPARE 293
|
||||
# define LSHIFT 294
|
||||
# define RSHIFT 295
|
||||
# define UNARY 296
|
||||
# define PLUSPLUS 297
|
||||
# define MINUSMINUS 298
|
||||
# define HYPERUNARY 299
|
||||
# define POINTSAT 300
|
||||
# define INTERFACE 301
|
||||
# define IMPLEMENTATION 302
|
||||
# define END 303
|
||||
# define SELECTOR 304
|
||||
# define DEFS 305
|
||||
# define ENCODE 306
|
||||
# define CLASSNAME 307
|
||||
# define PUBLIC 308
|
||||
# define PRIVATE 309
|
||||
# define PROTECTED 310
|
||||
# define PROTOCOL 311
|
||||
# define OBJECTNAME 312
|
||||
# define CLASS 313
|
||||
# define ALIAS 314
|
||||
# define OBJC_STRING 315
|
||||
|
||||
|
||||
extern YYSTYPE yylval;
|
||||
|
||||
#endif /* not BISON_C_PARSE_H */
|
||||
|
|
|
@ -2134,56 +2134,63 @@ parmlist_2: /* empty */
|
|||
|
||||
parms:
|
||||
parm
|
||||
{ push_parm_decl ($1); }
|
||||
/* begin-GG-local: explicit register specification for parameters */
|
||||
{ push_parm_decl (TREE_PURPOSE($1), TREE_VALUE($1)); }
|
||||
| parms ',' parm
|
||||
{ push_parm_decl ($3); }
|
||||
{ push_parm_decl (TREE_PURPOSE($3), TREE_VALUE($3)); }
|
||||
;
|
||||
|
||||
/* A single parameter declaration or parameter type name,
|
||||
as found in a parmlist. */
|
||||
parm:
|
||||
typed_declspecs setspecs parm_declarator maybe_attribute
|
||||
{ $$ = build_tree_list (build_tree_list (current_declspecs,
|
||||
$3),
|
||||
build_tree_list (prefix_attributes,
|
||||
$4));
|
||||
typed_declspecs setspecs parm_declarator maybeasm maybe_attribute
|
||||
{ $$ = build_tree_list (
|
||||
build_tree_list (build_tree_list (current_declspecs,
|
||||
$3),
|
||||
build_tree_list (prefix_attributes,
|
||||
$5)), $4);
|
||||
current_declspecs = TREE_VALUE (declspec_stack);
|
||||
prefix_attributes = TREE_PURPOSE (declspec_stack);
|
||||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||||
resume_momentary ($2); }
|
||||
| typed_declspecs setspecs notype_declarator maybe_attribute
|
||||
{ $$ = build_tree_list (build_tree_list (current_declspecs,
|
||||
$3),
|
||||
build_tree_list (prefix_attributes,
|
||||
$4));
|
||||
| typed_declspecs setspecs notype_declarator maybeasm maybe_attribute
|
||||
{ $$ = build_tree_list (
|
||||
build_tree_list (build_tree_list (current_declspecs,
|
||||
$3),
|
||||
build_tree_list (prefix_attributes,
|
||||
$5)), $4);
|
||||
current_declspecs = TREE_VALUE (declspec_stack);
|
||||
prefix_attributes = TREE_PURPOSE (declspec_stack);
|
||||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||||
resume_momentary ($2); }
|
||||
| typed_declspecs setspecs absdcl maybe_attribute
|
||||
{ $$ = build_tree_list (build_tree_list (current_declspecs,
|
||||
$3),
|
||||
build_tree_list (prefix_attributes,
|
||||
$4));
|
||||
| typed_declspecs setspecs absdcl maybeasm maybe_attribute
|
||||
{ $$ = build_tree_list (
|
||||
build_tree_list (build_tree_list (current_declspecs,
|
||||
$3),
|
||||
build_tree_list (prefix_attributes,
|
||||
$5)), $4);
|
||||
current_declspecs = TREE_VALUE (declspec_stack);
|
||||
prefix_attributes = TREE_PURPOSE (declspec_stack);
|
||||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||||
resume_momentary ($2); }
|
||||
| declmods setspecs notype_declarator maybe_attribute
|
||||
{ $$ = build_tree_list (build_tree_list (current_declspecs,
|
||||
$3),
|
||||
build_tree_list (prefix_attributes,
|
||||
$4));
|
||||
| declmods setspecs notype_declarator maybeasm maybe_attribute
|
||||
{ $$ = build_tree_list (
|
||||
build_tree_list (build_tree_list (current_declspecs,
|
||||
$3),
|
||||
build_tree_list (prefix_attributes,
|
||||
$5)), $4);
|
||||
current_declspecs = TREE_VALUE (declspec_stack);
|
||||
prefix_attributes = TREE_PURPOSE (declspec_stack);
|
||||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||||
resume_momentary ($2); }
|
||||
|
||||
| declmods setspecs absdcl maybe_attribute
|
||||
{ $$ = build_tree_list (build_tree_list (current_declspecs,
|
||||
$3),
|
||||
build_tree_list (prefix_attributes,
|
||||
$4));
|
||||
| declmods setspecs absdcl maybeasm maybe_attribute
|
||||
{ $$ = build_tree_list (
|
||||
build_tree_list (build_tree_list (current_declspecs,
|
||||
$3),
|
||||
build_tree_list (prefix_attributes,
|
||||
$5)), $4);
|
||||
/* end-GG-local */
|
||||
current_declspecs = TREE_VALUE (declspec_stack);
|
||||
prefix_attributes = TREE_PURPOSE (declspec_stack);
|
||||
declspec_stack = TREE_CHAIN (declspec_stack);
|
||||
|
|
Loading…
Reference in New Issue