ael.tab.c

来自「Asterisk-1.4.4最新内核源代码」· C语言 代码 · 共 2,072 行 · 第 1/5 页

C
2,072 行
字号
#line 1662 "ael.tab.c"	break;      case 84: /* "opt_word" */#line 177 "ael.y"	{ free((yyvaluep->str));};#line 1667 "ael.tab.c"	break;      case 85: /* "eval_arglist" */#line 164 "ael.y"	{		destroy_pval((yyvaluep->pval));		prev_word=0;	};#line 1675 "ael.tab.c"	break;      case 86: /* "case_statements" */#line 164 "ael.y"	{		destroy_pval((yyvaluep->pval));		prev_word=0;	};#line 1683 "ael.tab.c"	break;      case 87: /* "case_statement" */#line 164 "ael.y"	{		destroy_pval((yyvaluep->pval));		prev_word=0;	};#line 1691 "ael.tab.c"	break;      case 88: /* "macro_statements" */#line 164 "ael.y"	{		destroy_pval((yyvaluep->pval));		prev_word=0;	};#line 1699 "ael.tab.c"	break;      case 89: /* "macro_statement" */#line 164 "ael.y"	{		destroy_pval((yyvaluep->pval));		prev_word=0;	};#line 1707 "ael.tab.c"	break;      case 90: /* "switches" */#line 164 "ael.y"	{		destroy_pval((yyvaluep->pval));		prev_word=0;	};#line 1715 "ael.tab.c"	break;      case 91: /* "eswitches" */#line 164 "ael.y"	{		destroy_pval((yyvaluep->pval));		prev_word=0;	};#line 1723 "ael.tab.c"	break;      case 92: /* "switchlist" */#line 164 "ael.y"	{		destroy_pval((yyvaluep->pval));		prev_word=0;	};#line 1731 "ael.tab.c"	break;      case 93: /* "included_entry" */#line 164 "ael.y"	{		destroy_pval((yyvaluep->pval));		prev_word=0;	};#line 1739 "ael.tab.c"	break;      case 94: /* "includeslist" */#line 164 "ael.y"	{		destroy_pval((yyvaluep->pval));		prev_word=0;	};#line 1747 "ael.tab.c"	break;      case 95: /* "includes" */#line 164 "ael.y"	{		destroy_pval((yyvaluep->pval));		prev_word=0;	};#line 1755 "ael.tab.c"	break;      default:	break;    }}/* Prevent warnings from -Wmissing-prototypes.  */#ifdef YYPARSE_PARAM#if defined __STDC__ || defined __cplusplusint yyparse (void *YYPARSE_PARAM);#elseint yyparse ();#endif#else /* ! YYPARSE_PARAM */#if defined __STDC__ || defined __cplusplusint yyparse (struct parse_io *parseio);#elseint yyparse ();#endif#endif /* ! YYPARSE_PARAM *//*----------.| yyparse.  |`----------*/#ifdef YYPARSE_PARAM#if (defined __STDC__ || defined __C99__FUNC__ \     || defined __cplusplus || defined _MSC_VER)intyyparse (void *YYPARSE_PARAM)#elseintyyparse (YYPARSE_PARAM)    void *YYPARSE_PARAM;#endif#else /* ! YYPARSE_PARAM */#if (defined __STDC__ || defined __C99__FUNC__ \     || defined __cplusplus || defined _MSC_VER)intyyparse (struct parse_io *parseio)#elseintyyparse (parseio)    struct parse_io *parseio;#endif#endif{  /* The look-ahead symbol.  */int yychar;/* The semantic value of the look-ahead symbol.  */YYSTYPE yylval;/* Number of syntax errors so far.  */int yynerrs;/* Location data for the look-ahead symbol.  */YYLTYPE yylloc;  int yystate;  int yyn;  int yyresult;  /* Number of tokens to shift before error messages enabled.  */  int yyerrstatus;  /* Look-ahead token as an internal (translated) token number.  */  int yytoken = 0;#if YYERROR_VERBOSE  /* Buffer for error messages, and its allocated size.  */  char yymsgbuf[128];  char *yymsg = yymsgbuf;  YYSIZE_T yymsg_alloc = sizeof yymsgbuf;#endif  /* Three stacks and their tools:     `yyss': related to states,     `yyvs': related to semantic values,     `yyls': related to locations.     Refer to the stacks thru separate pointers, to allow yyoverflow     to reallocate them elsewhere.  */  /* The state stack.  */  yytype_int16 yyssa[YYINITDEPTH];  yytype_int16 *yyss = yyssa;  yytype_int16 *yyssp;  /* The semantic value stack.  */  YYSTYPE yyvsa[YYINITDEPTH];  YYSTYPE *yyvs = yyvsa;  YYSTYPE *yyvsp;  /* The location stack.  */  YYLTYPE yylsa[YYINITDEPTH];  YYLTYPE *yyls = yylsa;  YYLTYPE *yylsp;  /* The locations where the error started and ended.  */  YYLTYPE yyerror_range[2];#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N), yylsp -= (N))  YYSIZE_T yystacksize = YYINITDEPTH;  /* The variables used to return semantic value and location from the     action routines.  */  YYSTYPE yyval;  YYLTYPE yyloc;  /* The number of symbols on the RHS of the reduced rule.     Keep to zero when no symbol should be popped.  */  int yylen = 0;  YYDPRINTF ((stderr, "Starting parse\n"));  yystate = 0;  yyerrstatus = 0;  yynerrs = 0;  yychar = YYEMPTY;		/* Cause a token to be read.  */  /* Initialize stack pointers.     Waste one element of value and location stack     so that they stay on the same level as the state stack.     The wasted elements are never initialized.  */  yyssp = yyss;  yyvsp = yyvs;  yylsp = yyls;#if YYLTYPE_IS_TRIVIAL  /* Initialize the default location before parsing starts.  */  yylloc.first_line   = yylloc.last_line   = 1;  yylloc.first_column = yylloc.last_column = 0;#endif  goto yysetstate;/*------------------------------------------------------------.| yynewstate -- Push a new state, which is found in yystate.  |`------------------------------------------------------------*/ yynewstate:  /* In all cases, when you get here, the value and location stacks     have just been pushed.  So pushing a state here evens the stacks.  */  yyssp++; yysetstate:  *yyssp = yystate;  if (yyss + yystacksize - 1 <= yyssp)    {      /* Get the current used size of the three stacks, in elements.  */      YYSIZE_T yysize = yyssp - yyss + 1;#ifdef yyoverflow      {	/* Give user a chance to reallocate the stack.  Use copies of	   these so that the &'s don't force the real ones into	   memory.  */	YYSTYPE *yyvs1 = yyvs;	yytype_int16 *yyss1 = yyss;	YYLTYPE *yyls1 = yyls;	/* Each stack pointer address is followed by the size of the	   data in use in that stack, in bytes.  This used to be a	   conditional around just the two extra args, but that might	   be undefined if yyoverflow is a macro.  */	yyoverflow (YY_("memory exhausted"),		    &yyss1, yysize * sizeof (*yyssp),		    &yyvs1, yysize * sizeof (*yyvsp),		    &yyls1, yysize * sizeof (*yylsp),		    &yystacksize);	yyls = yyls1;	yyss = yyss1;	yyvs = yyvs1;      }#else /* no yyoverflow */# ifndef YYSTACK_RELOCATE      goto yyexhaustedlab;# else      /* Extend the stack our own way.  */      if (YYMAXDEPTH <= yystacksize)	goto yyexhaustedlab;      yystacksize *= 2;      if (YYMAXDEPTH < yystacksize)	yystacksize = YYMAXDEPTH;      {	yytype_int16 *yyss1 = yyss;	union yyalloc *yyptr =	  (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));	if (! yyptr)	  goto yyexhaustedlab;	YYSTACK_RELOCATE (yyss);	YYSTACK_RELOCATE (yyvs);	YYSTACK_RELOCATE (yyls);#  undef YYSTACK_RELOCATE	if (yyss1 != yyssa)	  YYSTACK_FREE (yyss1);      }# endif#endif /* no yyoverflow */      yyssp = yyss + yysize - 1;      yyvsp = yyvs + yysize - 1;      yylsp = yyls + yysize - 1;      YYDPRINTF ((stderr, "Stack size increased to %lu\n",		  (unsigned long int) yystacksize));      if (yyss + yystacksize - 1 <= yyssp)	YYABORT;    }  YYDPRINTF ((stderr, "Entering state %d\n", yystate));  goto yybackup;/*-----------.| yybackup.  |`-----------*/yybackup:  /* Do appropriate processing given the current state.  Read a     look-ahead token if we need one and don't already have one.  */  /* First try to decide what to do without reference to look-ahead token.  */  yyn = yypact[yystate];  if (yyn == YYPACT_NINF)    goto yydefault;  /* Not known => get a look-ahead token if don't already have one.  */  /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol.  */  if (yychar == YYEMPTY)    {      YYDPRINTF ((stderr, "Reading a token: "));      yychar = YYLEX;    }  if (yychar <= YYEOF)    {      yychar = yytoken = YYEOF;      YYDPRINTF ((stderr, "Now at end of input.\n"));    }  else    {      yytoken = YYTRANSLATE (yychar);      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);    }  /* If the proper action on seeing token YYTOKEN is to reduce or to     detect an error, take that action.  */  yyn += yytoken;  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)    goto yydefault;  yyn = yytable[yyn];  if (yyn <= 0)    {      if (yyn == 0 || yyn == YYTABLE_NINF)	goto yyerrlab;      yyn = -yyn;      goto yyreduce;    }  if (yyn == YYFINAL)    YYACCEPT;  /* Count tokens shifted since error; after three, turn off error     status.  */  if (yyerrstatus)    yyerrstatus--;  /* Shift the look-ahead token.  */  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);  /* Discard the shifted token unless it is eof.  */  if (yychar != YYEOF)    yychar = YYEMPTY;  yystate = yyn;  *++yyvsp = yylval;  *++yylsp = yylloc;  goto yynewstate;/*-----------------------------------------------------------.| yydefault -- do the default action for the current state.  |`-----------------------------------------------------------*/yydefault:  yyn = yydefact[yystate];  if (yyn == 0)    goto yyerrlab;  goto yyreduce;/*-----------------------------.| yyreduce -- Do a reduction.  |`-----------------------------*/yyreduce:  /* yyn is the number of a rule to reduce with.  */  yylen = yyr2[yyn];  /* If YYLEN is nonzero, implement the default value of the action:     `$$ = $1'.     Otherwise, the following line sets YYVAL to garbage.     This behavior is undocumented and Bison     users should not rely upon it.  Assigning to YYVAL     unconditionally makes the parser a bit smaller, and it avoids a     GCC warning that YYVAL may be used uninitialized.  */  yyval = yyvsp[1-yylen];  /* Default location.  */  YYLLOC_DEFAULT (yyloc, (yylsp - yylen)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?