亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? c-parse.y

?? 早期freebsd實現
?? Y
?? 第 1 頁 / 共 4 頁
字號:
/* YACC parser for C syntax and for Objective C.  -*-c-*-   Copyright (C) 1987, 1988, 1989, 1992 Free Software Foundation, Inc.This file is part of GNU CC.GNU CC is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU CC is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU CC; see the file COPYING.  If not, write tothe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  *//* This file defines the grammar of C and that of Objective C.   ifobjc ... end ifobjc  conditionals contain code for Objective C only.   ifc ... end ifc  conditionals contain code for C only.   The awk script cond.awk is used to convert this file into   c-parse.y and into objc-parse.y.  *//* To whomever it may concern: I have heard that such a thing was oncewritten by AT&T, but I have never seen it.  */%expect 8/* These are the 8 conflicts you should get in parse.output;   the state numbers may vary if minor changes in the grammar are made.State 41 contains 1 shift/reduce conflict.  (Two ways to recover from error.)State 92 contains 1 shift/reduce conflict.  (Two ways to recover from error.)State 99 contains 1 shift/reduce conflict.  (Two ways to recover from error.)State 103 contains 1 shift/reduce conflict.  (Two ways to recover from error.)State 119 contains 1 shift/reduce conflict.  (See comment at component_decl.)State 183 contains 1 shift/reduce conflict.  (Two ways to recover from error.)State 193 contains 1 shift/reduce conflict.  (Two ways to recover from error.)State 199 contains 1 shift/reduce conflict.  (Two ways to recover from error.)*/%{#include <stdio.h>#include <errno.h>#include <setjmp.h>#include "config.h"#include "tree.h"#include "input.h"#include "c-lex.h"#include "c-tree.h"#include "flags.h"#ifdef MULTIBYTE_CHARS#include <stdlib.h>#include <locale.h>#endif#ifndef errnoextern int errno;#endifvoid yyerror ();/* Like YYERROR but do call yyerror.  */#define YYERROR1 { yyerror ("syntax error"); YYERROR; }/* Cause the `yydebug' variable to be defined.  */#define YYDEBUG 1%}%start program%union {long itype; tree ttype; enum tree_code code;	char *filename; int lineno; }/* All identifiers that are not reserved words   and are not declared typedefs in the current block */%token IDENTIFIER/* All identifiers that are declared typedefs in the current block.   In some contexts, they are treated just like IDENTIFIER,   but they can also serve as typespecs in declarations.  */%token TYPENAME/* Reserved words that specify storage class.   yylval contains an IDENTIFIER_NODE which indicates which one.  */%token SCSPEC/* Reserved words that specify type.   yylval contains an IDENTIFIER_NODE which indicates which one.  */%token TYPESPEC/* Reserved words that qualify type: "const" or "volatile".   yylval contains an IDENTIFIER_NODE which indicates which one.  */%token TYPE_QUAL/* Character or numeric constants.   yylval is the node for the constant.  */%token CONSTANT/* String constants in raw form.   yylval is a STRING_CST node.  */%token STRING/* "...", used for functions with variable arglists.  */%token ELLIPSIS/* the reserved words *//* SCO include files test "ASM", so use something else. */%token SIZEOF ENUM STRUCT UNION IF ELSE WHILE DO FOR SWITCH CASE DEFAULT%token BREAK CONTINUE RETURN GOTO ASM_KEYWORD TYPEOF ALIGNOF ALIGN%token ATTRIBUTE EXTENSION LABEL/* Add precedence rules to solve dangling else s/r conflict */%nonassoc IF%nonassoc ELSE/* Define the operator tokens and their precedences.   The value is an integer because, if used, it is the tree code   to use in the expression made from the operator.  */%right <code> ASSIGN '='%right <code> '?' ':'%left <code> OROR%left <code> ANDAND%left <code> '|'%left <code> '^'%left <code> '&'%left <code> EQCOMPARE%left <code> ARITHCOMPARE%left <code> LSHIFT RSHIFT%left <code> '+' '-'%left <code> '*' '/' '%'%right <code> UNARY PLUSPLUS MINUSMINUS%left HYPERUNARY%left <code> POINTSAT '.' '(' '['/* The Objective-C keywords.  These are included in C and in   Objective C, so that the token codes are the same in both.  */%token INTERFACE IMPLEMENTATION END SELECTOR DEFS ENCODE%token CLASSNAME PUBLIC%type <code> unop%type <ttype> identifier IDENTIFIER TYPENAME CONSTANT expr nonnull_exprlist exprlist%type <ttype> expr_no_commas cast_expr unary_expr primary string STRING%type <ttype> typed_declspecs reserved_declspecs%type <ttype> typed_typespecs reserved_typespecquals%type <ttype> declmods typespec typespecqual_reserved%type <ttype> SCSPEC TYPESPEC TYPE_QUAL nonempty_type_quals maybe_type_qual%type <ttype> initdecls notype_initdecls initdcl notype_initdcl%type <ttype> init initlist maybeasm%type <ttype> asm_operands nonnull_asm_operands asm_operand asm_clobbers%type <ttype> maybe_attribute attribute_list attrib%type <ttype> compstmt%type <ttype> declarator%type <ttype> notype_declarator after_type_declarator%type <ttype> parm_declarator%type <ttype> structsp component_decl_list component_decl_list2%type <ttype> component_decl components component_declarator%type <ttype> enumlist enumerator%type <ttype> typename absdcl absdcl1 type_quals%type <ttype> xexpr parms parm identifiers%type <ttype> parmlist parmlist_1 parmlist_2%type <ttype> parmlist_or_identifiers parmlist_or_identifiers_1%type <ttype> identifiers_or_typenames%type <itype> setspecs%type <filename> save_filename%type <lineno> save_lineno%{/* Number of statements (loosely speaking) seen so far.  */static int stmt_count;/* Input file and line number of the end of the body of last simple_if;   used by the stmt-rule immediately after simple_if returns.  */static char *if_stmt_file;static int if_stmt_line;/* List of types and structure classes of the current declaration.  */static tree current_declspecs;/* Stack of saved values of current_declspecs.  */static tree declspec_stack;/* 1 if we explained undeclared var errors.  */static int undeclared_variable_notice;/* Tell yyparse how to print a token's value, if yydebug is set.  */#define YYPRINT(FILE,YYCHAR,YYLVAL) yyprint(FILE,YYCHAR,YYLVAL)extern void yyprint ();%}%%program: /* empty */		{ if (pedantic)		    pedwarn ("ANSI C forbids an empty source file");		}	| extdefs		{		}	;/* the reason for the strange actions in this rule is so that notype_initdecls when reached via datadef can find a valid list of type and sc specs in $0. */extdefs:	{$<ttype>$ = NULL_TREE; } extdef	| extdefs {$<ttype>$ = NULL_TREE; } extdef	;extdef:	fndef	| datadef	| ASM_KEYWORD '(' expr ')' ';'		{ STRIP_NOPS ($3);		  if ((TREE_CODE ($3) == ADDR_EXPR		       && TREE_CODE (TREE_OPERAND ($3, 0)) == STRING_CST)		      || TREE_CODE ($3) == STRING_CST)		    assemble_asm ($3);		  else		    error ("argument of `asm' is not a constant string"); }	;datadef:	  setspecs notype_initdecls ';'		{ if (pedantic)		    error ("ANSI C forbids data definition with no type or storage class");		  else if (!flag_traditional)		    warning ("data definition has no type or storage class"); }        | declmods setspecs notype_initdecls ';'	  {}	| typed_declspecs setspecs initdecls ';'	  {}        | declmods ';'	  { pedwarn ("empty declaration"); }	| typed_declspecs ';'	  { shadow_tag ($1); }	| error ';'	| error '}'	| ';'		{ if (pedantic)		    pedwarn ("ANSI C does not allow extra `;' outside of a function"); }	;fndef:	  typed_declspecs setspecs declarator		{ if (! start_function ($1, $3, 0))		    YYERROR1;		  reinit_parse_for_function (); }	  xdecls		{ store_parm_decls (); }	  compstmt_or_error		{ finish_function (0); }	| typed_declspecs setspecs declarator error		{ }	| declmods setspecs notype_declarator		{ if (! start_function ($1, $3, 0))		    YYERROR1;		  reinit_parse_for_function (); }	  xdecls		{ store_parm_decls (); }	  compstmt_or_error		{ finish_function (0); }	| declmods setspecs notype_declarator error		{ }	| setspecs notype_declarator		{ if (! start_function (NULL_TREE, $2, 0))		    YYERROR1;		  reinit_parse_for_function (); }	  xdecls		{ store_parm_decls (); }	  compstmt_or_error		{ finish_function (0); }	| setspecs notype_declarator error		{ }	;identifier:	IDENTIFIER	| TYPENAME	;unop:     '&'		{ $$ = ADDR_EXPR; }	| '-'		{ $$ = NEGATE_EXPR; }	| '+'		{ $$ = CONVERT_EXPR; }	| PLUSPLUS		{ $$ = PREINCREMENT_EXPR; }	| MINUSMINUS		{ $$ = PREDECREMENT_EXPR; }	| '~'		{ $$ = BIT_NOT_EXPR; }	| '!'		{ $$ = TRUTH_NOT_EXPR; }	;expr:	nonnull_exprlist		{ $$ = build_compound_expr ($1); }	;exprlist:	  /* empty */		{ $$ = NULL_TREE; }	| nonnull_exprlist	;nonnull_exprlist:	expr_no_commas		{ $$ = build_tree_list (NULL_TREE, $1); }	| nonnull_exprlist ',' expr_no_commas		{ chainon ($1, build_tree_list (NULL_TREE, $3)); }	;unary_expr:	primary	| '*' cast_expr   %prec UNARY		{ $$ = build_indirect_ref ($2, "unary *"); }	/* __extension__ turns off -pedantic for following primary.  */	| EXTENSION		{ $<itype>1 = pedantic;		  pedantic = 0; }	  cast_expr	  %prec UNARY		{ $$ = $3;		  pedantic = $<itype>1; }	| unop cast_expr  %prec UNARY		{ $$ = build_unary_op ($1, $2, 0); }	/* Refer to the address of a label as a pointer.  */	| ANDAND identifier		{ tree label = lookup_label ($2);		  TREE_USED (label) = 1;		  $$ = build1 (ADDR_EXPR, ptr_type_node, label);		  TREE_CONSTANT ($$) = 1; }/* This seems to be impossible on some machines, so let's turn it off.   You can use __builtin_next_arg to find the anonymous stack args.	| '&' ELLIPSIS		{ tree types = TYPE_ARG_TYPES (TREE_TYPE (current_function_decl));		  $$ = error_mark_node;		  if (TREE_VALUE (tree_last (types)) == void_type_node)		    error ("`&...' used in function with fixed number of arguments");		  else		    {		      if (pedantic)			pedwarn ("ANSI C forbids `&...'");		      $$ = tree_last (DECL_ARGUMENTS (current_function_decl));		      $$ = build_unary_op (ADDR_EXPR, $$, 0);		    } }*/	| SIZEOF unary_expr  %prec UNARY		{ if (TREE_CODE ($2) == COMPONENT_REF		      && DECL_BIT_FIELD (TREE_OPERAND ($2, 1)))		    error ("`sizeof' applied to a bit-field");		  $$ = c_sizeof (TREE_TYPE ($2)); }	| SIZEOF '(' typename ')'  %prec HYPERUNARY		{ $$ = c_sizeof (groktypename ($3)); }	| ALIGNOF unary_expr  %prec UNARY		{ $$ = c_alignof_expr ($2); }	| ALIGNOF '(' typename ')'  %prec HYPERUNARY		{ $$ = c_alignof (groktypename ($3)); }	;cast_expr:	unary_expr	| '(' typename ')' cast_expr  %prec UNARY		{ tree type = groktypename ($2);		  $$ = build_c_cast (type, $4); }	| '(' typename ')' '{' initlist maybecomma '}'  %prec UNARY		{ tree type = groktypename ($2);		  char *name;		  if (pedantic)		    pedwarn ("ANSI C forbids constructor expressions");		  if (TYPE_NAME (type) != 0)		    {		      if (TREE_CODE (TYPE_NAME (type)) == IDENTIFIER_NODE)			name = IDENTIFIER_POINTER (TYPE_NAME (type));		      else			name = IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (type)));		    }		  else		    name = "";		  $$ = digest_init (type, build_nt (CONSTRUCTOR, NULL_TREE, nreverse ($5)),				    NULL_PTR, 0, 0, name);		  if (TREE_CODE (type) == ARRAY_TYPE && TYPE_SIZE (type) == 0)		    {		      int failure = complete_array_type (type, $$, 1);		      if (failure)			abort ();		    }		}	;expr_no_commas:	  cast_expr	| expr_no_commas '+' expr_no_commas		{ $$ = parser_build_binary_op ($2, $1, $3); }	| expr_no_commas '-' expr_no_commas		{ $$ = parser_build_binary_op ($2, $1, $3); }	| expr_no_commas '*' expr_no_commas		{ $$ = parser_build_binary_op ($2, $1, $3); }	| expr_no_commas '/' expr_no_commas		{ $$ = parser_build_binary_op ($2, $1, $3); }	| expr_no_commas '%' expr_no_commas		{ $$ = parser_build_binary_op ($2, $1, $3); }	| expr_no_commas LSHIFT expr_no_commas		{ $$ = parser_build_binary_op ($2, $1, $3); }	| expr_no_commas RSHIFT expr_no_commas		{ $$ = parser_build_binary_op ($2, $1, $3); }	| expr_no_commas ARITHCOMPARE expr_no_commas		{ $$ = parser_build_binary_op ($2, $1, $3); }	| expr_no_commas EQCOMPARE expr_no_commas		{ $$ = parser_build_binary_op ($2, $1, $3); }	| expr_no_commas '&' expr_no_commas		{ $$ = parser_build_binary_op ($2, $1, $3); }	| expr_no_commas '|' expr_no_commas		{ $$ = parser_build_binary_op ($2, $1, $3); }	| expr_no_commas '^' expr_no_commas		{ $$ = parser_build_binary_op ($2, $1, $3); }	| expr_no_commas ANDAND expr_no_commas		{ $$ = parser_build_binary_op (TRUTH_ANDIF_EXPR, $1, $3); }	| expr_no_commas OROR expr_no_commas		{ $$ = parser_build_binary_op (TRUTH_ORIF_EXPR, $1, $3); }	| expr_no_commas '?' xexpr ':' expr_no_commas		{ $$ = build_conditional_expr ($1, $3, $5); }	| expr_no_commas '=' expr_no_commas		{ $$ = build_modify_expr ($1, NOP_EXPR, $3);		  C_SET_EXP_ORIGINAL_CODE ($$, MODIFY_EXPR); }	| expr_no_commas ASSIGN expr_no_commas		{ $$ = build_modify_expr ($1, $2, $3);		  C_SET_EXP_ORIGINAL_CODE ($$, MODIFY_EXPR); }	;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人自拍偷拍| 成人18视频日本| 久久精品国产久精国产| 男女视频一区二区| 日韩二区三区在线观看| 人人爽香蕉精品| 国产精品自拍三区| 91免费视频网址| 一本一道波多野结衣一区二区| 欧美美女一区二区| 欧美经典一区二区三区| 中日韩免费视频中文字幕| 1000精品久久久久久久久| 亚洲福利视频三区| 国产精品1024| 欧美一级日韩免费不卡| 亚洲欧美另类小说视频| 国产在线精品免费| 欧美喷潮久久久xxxxx| 久久久亚洲精品石原莉奈| 亚洲美女免费在线| 欧美性感一区二区三区| 亚洲电影中文字幕在线观看| 成人avav影音| 精品久久一二三区| 色综合天天狠狠| 日韩福利视频导航| 精品久久人人做人人爱| 欧美va日韩va| 亚洲国产一区在线观看| 精品影视av免费| 91精品在线免费观看| 久久久五月婷婷| 蜜臀av一级做a爰片久久| 欧美综合在线视频| 国产亚洲婷婷免费| 麻豆精品久久精品色综合| 精品国产免费人成电影在线观看四季 | 日本一区二区三区视频视频| 美女久久久精品| 91小宝寻花一区二区三区| 国产亚洲一二三区| 99久久er热在这里只有精品66| 欧美高清在线精品一区| 国模大尺度一区二区三区| 国产亚洲综合av| 91福利国产成人精品照片| 日韩电影在线免费观看| 久久综合久久99| 欧美午夜片在线看| 免费久久99精品国产| 国产精品91xxx| 欧美96一区二区免费视频| 美女精品自拍一二三四| 国产精品综合视频| 狠狠狠色丁香婷婷综合久久五月| 精品成人佐山爱一区二区| 91丨九色丨黑人外教| 99久久婷婷国产精品综合| 久久国产精品99精品国产| 一区二区三区丝袜| 亚洲另类春色国产| 中文字幕免费观看一区| 91精品欧美综合在线观看最新| 欧美日本免费一区二区三区| 91免费版pro下载短视频| a4yy欧美一区二区三区| 成人av集中营| 日韩色视频在线观看| 欧美喷潮久久久xxxxx| 色天天综合色天天久久| 在线看国产日韩| 欧美成人伊人久久综合网| 精品国产乱码久久久久久老虎| 亚洲精品一区二区三区蜜桃下载| 精品久久一区二区三区| 久久久精品综合| 亚洲欧美日本在线| 亚洲综合999| 久久国内精品自在自线400部| 日韩影院精彩在线| 狠狠色综合日日| 在线观看国产日韩| 不卡影院免费观看| 69成人精品免费视频| 国产欧美精品区一区二区三区 | 加勒比av一区二区| 欧美色精品在线视频| 亚洲欧洲在线观看av| 国内精品免费**视频| 4hu四虎永久在线影院成人| 欧美一区二区成人| 中文字幕不卡在线观看| 国产一区二区在线观看免费| 欧美日韩久久不卡| 亚洲精品自拍动漫在线| 国产一二精品视频| 欧美成人官网二区| 奇米一区二区三区| 欧美三级韩国三级日本三斤| 中文乱码免费一区二区| 毛片av一区二区| 国产精一区二区三区| 久久在线观看免费| 激情综合网最新| 91色porny蝌蚪| 日韩欧美高清在线| 亚洲视频在线观看一区| 日本成人在线视频网站| 99精品在线免费| 国产农村妇女毛片精品久久麻豆| 亚洲欧美日韩久久精品| 亚洲小说春色综合另类电影| 欧美在线小视频| 日韩电影在线免费观看| 欧美成人vr18sexvr| 成人免费视频app| 欧美国产乱子伦| 欧美一a一片一级一片| 午夜a成v人精品| 久久久久久免费| 在线亚洲人成电影网站色www| 亚洲国产视频直播| 国产午夜精品久久久久久久| 色综合久久久久| 精品一区二区三区蜜桃| 国产精品色噜噜| 337p日本欧洲亚洲大胆色噜噜| caoporen国产精品视频| 日韩精品欧美精品| 亚洲欧洲三级电影| 国产日韩av一区二区| 欧美妇女性影城| 91福利在线导航| 在线这里只有精品| 91色porny在线视频| 成人午夜av在线| 亚洲在线观看免费视频| 国产精品免费久久| 日本一区二区三区四区 | 国产成人免费视| 国产主播一区二区| 久久精品国产亚洲5555| 免费不卡在线视频| 亚洲风情在线资源站| 亚洲一本大道在线| 日韩电影一区二区三区| 日本不卡视频在线| 韩国av一区二区| 国产剧情av麻豆香蕉精品| 成人黄色国产精品网站大全在线免费观看 | 精品婷婷伊人一区三区三| 色视频成人在线观看免| 99视频精品免费视频| 日本韩国欧美三级| 欧美一级片在线观看| 亚洲精品一区二区三区四区高清| 国产亚洲欧美一级| 亚洲在线视频一区| 亚洲成人激情综合网| 激情欧美一区二区| 色综合久久中文综合久久牛| 欧美午夜在线观看| 日本一区二区三区四区| 亚洲成av人片在线| 成人av在线一区二区| 日韩欧美一二三四区| 中文字幕一区二区在线观看| 蜜桃免费网站一区二区三区| 成人精品一区二区三区四区| 制服丝袜成人动漫| 一区二区三区在线免费播放| 国产aⅴ综合色| 日韩精品最新网址| 日本欧美大码aⅴ在线播放| 东方aⅴ免费观看久久av| 欧美性猛交xxxxxx富婆| 欧美精品一区二区三区高清aⅴ| 国产精品欧美精品| 另类调教123区| 欧美精品久久一区二区三区| 一级精品视频在线观看宜春院| 蜜乳av一区二区| 久久国产精品第一页| 欧美一级精品大片| 日韩精品91亚洲二区在线观看| 色噜噜久久综合| 中文字幕一区二区三中文字幕| 久久电影网站中文字幕| 日韩一级高清毛片| 天天综合日日夜夜精品| 欧美日韩国产大片| 国产伦精品一区二区三区视频青涩 | 久久精品在线观看| 亚洲精品视频在线看| 色欧美片视频在线观看在线视频| 国产精品久久久久影院色老大 | 欧美v国产在线一区二区三区| 日本成人在线网站| 国产欧美日韩三级|