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

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

?? y.tab.c

?? C語言的語法分析器
?? C
?? 第 1 頁 / 共 3 頁
字號:
  register char *t = to;
  register int i = count;

  while (i-- > 0)
    *t++ = *f++;
}

#else /* __cplusplus */

/* This is the most reliable way to avoid incompatibilities
   in available built-in functions on various systems.  */
static void
__yy_memcpy (char *to, char *from, unsigned int count)
{
  register char *t = to;
  register char *f = from;
  register int i = count;

  while (i-- > 0)
    *t++ = *f++;
}

#endif
#endif

#line 217 "/usr/local/share/bison.simple"

/* The user can define YYPARSE_PARAM as the name of an argument to be passed
   into yyparse.  The argument should have type void *.
   It should actually point to an object.
   Grammar actions can access the variable by casting it
   to the proper pointer type.  */

#ifdef YYPARSE_PARAM
#ifdef __cplusplus
#define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
#define YYPARSE_PARAM_DECL
#else /* not __cplusplus */
#define YYPARSE_PARAM_ARG YYPARSE_PARAM
#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
#endif /* not __cplusplus */
#else /* not YYPARSE_PARAM */
#define YYPARSE_PARAM_ARG
#define YYPARSE_PARAM_DECL
#endif /* not YYPARSE_PARAM */

/* Prevent warning if -Wstrict-prototypes.  */
#ifdef __GNUC__
#ifdef YYPARSE_PARAM
int yyparse (void *);
#else
int yyparse (void);
#endif
#endif

int
yyparse(YYPARSE_PARAM_ARG)
     YYPARSE_PARAM_DECL
{
  register int yystate;
  register int yyn;
  register short *yyssp;
  register YYSTYPE *yyvsp;
  int yyerrstatus;	/*  number of tokens to shift before error messages enabled */
  int yychar1 = 0;		/*  lookahead token as an internal (translated) token number */

  short	yyssa[YYINITDEPTH];	/*  the state stack			*/
  YYSTYPE yyvsa[YYINITDEPTH];	/*  the semantic value stack		*/

  short *yyss = yyssa;		/*  refer to the stacks thru separate pointers */
  YYSTYPE *yyvs = yyvsa;	/*  to allow yyoverflow to reallocate them elsewhere */

#ifdef YYLSP_NEEDED
  YYLTYPE yylsa[YYINITDEPTH];	/*  the location stack			*/
  YYLTYPE *yyls = yylsa;
  YYLTYPE *yylsp;

#define YYPOPSTACK   (yyvsp--, yyssp--, yylsp--)
#else
#define YYPOPSTACK   (yyvsp--, yyssp--)
#endif

  int yystacksize = YYINITDEPTH;
  int yyfree_stacks = 0;

#ifdef YYPURE
  int yychar;
  YYSTYPE yylval;
  int yynerrs;
#ifdef YYLSP_NEEDED
  YYLTYPE yylloc;
#endif
#endif

  YYSTYPE yyval;		/*  the variable used to return		*/
				/*  semantic values from the action	*/
				/*  routines				*/

  int yylen;

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Starting parse\n");
#endif

  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 - 1;
  yyvsp = yyvs;
#ifdef YYLSP_NEEDED
  yylsp = yyls;
#endif

/* Push a new state, which is found in  yystate  .  */
/* In all cases, when you get here, the value and location stacks
   have just been pushed. so pushing a state here evens the stacks.  */
yynewstate:

  *++yyssp = yystate;

  if (yyssp >= yyss + yystacksize - 1)
    {
      /* 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;
      short *yyss1 = yyss;
#ifdef YYLSP_NEEDED
      YYLTYPE *yyls1 = yyls;
#endif

      /* Get the current used size of the three stacks, in elements.  */
      int size = yyssp - yyss + 1;

#ifdef yyoverflow
      /* Each stack pointer address is followed by the size of
	 the data in use in that stack, in bytes.  */
#ifdef YYLSP_NEEDED
      /* This used to be a conditional around just the two extra args,
	 but that might be undefined if yyoverflow is a macro.  */
      yyoverflow("parser stack overflow",
		 &yyss1, size * sizeof (*yyssp),
		 &yyvs1, size * sizeof (*yyvsp),
		 &yyls1, size * sizeof (*yylsp),
		 &yystacksize);
#else
      yyoverflow("parser stack overflow",
		 &yyss1, size * sizeof (*yyssp),
		 &yyvs1, size * sizeof (*yyvsp),
		 &yystacksize);
#endif

      yyss = yyss1; yyvs = yyvs1;
#ifdef YYLSP_NEEDED
      yyls = yyls1;
#endif
#else /* no yyoverflow */
      /* Extend the stack our own way.  */
      if (yystacksize >= YYMAXDEPTH)
	{
	  yyerror("parser stack overflow");
	  if (yyfree_stacks)
	    {
	      free (yyss);
	      free (yyvs);
#ifdef YYLSP_NEEDED
	      free (yyls);
#endif
	    }
	  return 2;
	}
      yystacksize *= 2;
      if (yystacksize > YYMAXDEPTH)
	yystacksize = YYMAXDEPTH;
#ifndef YYSTACK_USE_ALLOCA
      yyfree_stacks = 1;
#endif
      yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
      __yy_memcpy ((char *)yyss, (char *)yyss1,
		   size * (unsigned int) sizeof (*yyssp));
      yyvs = (YYSTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp));
      __yy_memcpy ((char *)yyvs, (char *)yyvs1,
		   size * (unsigned int) sizeof (*yyvsp));
#ifdef YYLSP_NEEDED
      yyls = (YYLTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yylsp));
      __yy_memcpy ((char *)yyls, (char *)yyls1,
		   size * (unsigned int) sizeof (*yylsp));
#endif
#endif /* no yyoverflow */

      yyssp = yyss + size - 1;
      yyvsp = yyvs + size - 1;
#ifdef YYLSP_NEEDED
      yylsp = yyls + size - 1;
#endif

#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Stack size increased to %d\n", yystacksize);
#endif

      if (yyssp >= yyss + yystacksize - 1)
	YYABORT;
    }

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Entering state %d\n", yystate);
#endif

  goto yybackup;
 yybackup:

/* Do appropriate processing given the current state.  */
/* Read a lookahead token if we need one and don't already have one.  */
/* yyresume: */

  /* First try to decide what to do without reference to lookahead token.  */

  yyn = yypact[yystate];
  if (yyn == YYFLAG)
    goto yydefault;

  /* Not known => get a lookahead token if don't already have one.  */

  /* yychar is either YYEMPTY or YYEOF
     or a valid token in external form.  */

  if (yychar == YYEMPTY)
    {
#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Reading a token: ");
#endif
      yychar = YYLEX;
    }

  /* Convert token to internal form (in yychar1) for indexing tables with */

  if (yychar <= 0)		/* This means end of input. */
    {
      yychar1 = 0;
      yychar = YYEOF;		/* Don't call YYLEX any more */

#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Now at end of input.\n");
#endif
    }
  else
    {
      yychar1 = YYTRANSLATE(yychar);

#if YYDEBUG != 0
      if (yydebug)
	{
	  fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
	  /* Give the individual parser a way to print the precise meaning
	     of a token, for further debugging info.  */
#ifdef YYPRINT
	  YYPRINT (stderr, yychar, yylval);
#endif
	  fprintf (stderr, ")\n");
	}
#endif
    }

  yyn += yychar1;
  if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
    goto yydefault;

  yyn = yytable[yyn];

  /* yyn is what to do for this token type in this state.
     Negative => reduce, -yyn is rule number.
     Positive => shift, yyn is new state.
       New state is final state => don't bother to shift,
       just return success.
     0, or most negative number => error.  */

  if (yyn < 0)
    {
      if (yyn == YYFLAG)
	goto yyerrlab;
      yyn = -yyn;
      goto yyreduce;
    }
  else if (yyn == 0)
    goto yyerrlab;

  if (yyn == YYFINAL)
    YYACCEPT;

  /* Shift the lookahead token.  */

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
#endif

  /* Discard the token being shifted unless it is eof.  */
  if (yychar != YYEOF)
    yychar = YYEMPTY;

  *++yyvsp = yylval;
#ifdef YYLSP_NEEDED
  *++yylsp = yylloc;
#endif

  /* count tokens shifted since error; after three, turn off error status.  */
  if (yyerrstatus) yyerrstatus--;

  yystate = yyn;
  goto yynewstate;

/* Do the default action for the current state.  */
yydefault:

  yyn = yydefact[yystate];
  if (yyn == 0)
    goto yyerrlab;

/* Do a reduction.  yyn is the number of a rule to reduce with.  */
yyreduce:
  yylen = yyr2[yyn];
  if (yylen > 0)
    yyval = yyvsp[1-yylen]; /* implement default value of the action */

#if YYDEBUG != 0
  if (yydebug)
    {
      int i;

      fprintf (stderr, "Reducing via rule %d (line %d), ",
	       yyn, yyrline[yyn]);

      /* Print the symbols being reduced, and their result.  */
      for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
	fprintf (stderr, "%s ", yytname[yyrhs[i]]);
      fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
    }
#endif


  switch (yyn) {

case 1:
#line 26 "y.y"
{ fprintf(out, "program -> declaration_list\n"); ;
    break;}
case 2:
#line 28 "y.y"
{ fprintf(out, "declaration_list -> declaration_list declaration\n"); ;
    break;}
case 3:
#line 29 "y.y"
{ fprintf(out, "declaration_list -> declaration\n"); ;
    break;}
case 4:
#line 31 "y.y"
{ fprintf(out, "declaration -> var_declaration\n"); ;
    break;}
case 5:
#line 32 "y.y"
{ fprintf(out, "declaration -> fun_declaration\n"); ;
    break;}
case 6:
#line 34 "y.y"
{ fprintf(out, "var_declaration -> type_specifer ID;\n\n"); ;
    break;}
case 7:
#line 35 "y.y"
{ fprintf(out, "var_declaration -> type_specifer ID[NUM];\n\n"); ;
    break;}
case 8:
#line 37 "y.y"
{ fprintf(out, "type_specifer -> INT\n"); ;
    break;}
case 9:
#line 38 "y.y"
{ fprintf(out, "type_specifer -> VOID\n"); ;
    break;}
case 10:
#line 40 "y.y"
{ fprintf(out, "fun_declaration -> type_specifer ID (params) compound_stmt\n\n\n"); ;
    break;}
case 11:
#line 41 "y.y"
{ fprintf(out, "fun_declaration -> type_specifer ID (params)\n\n\n"); ;
    break;}
case 12:
#line 43 "y.y"
{ fprintf(out, "params -> param_list\n"); ;
    break;}
case 13:
#line 44 "y.y"
{ fprintf(out, "params -> VOID\n"); ;
    break;}
case 14:
#line 46 "y.y"
{ fprintf(out, "param_list -> param_list, param\n"); ;
    break;}
case 15:
#line 47 "y.y"
{ fprintf(out, "param_list -> param\n"); ;
    break;}
case 16:
#line 49 "y.y"
{ fprintf(out, "param -> type_specifer ID\n"); ;
    break;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜视频一区在线观看| 风流少妇一区二区| 成人免费看视频| 56国语精品自产拍在线观看| 国产午夜精品久久久久久久| 亚洲男同1069视频| 国产成人自拍在线| 日韩三级免费观看| 亚洲高清免费视频| 色综合色综合色综合色综合色综合 | 欧美一级高清片| 最新久久zyz资源站| 国产一区二区在线视频| 欧美日韩一区二区三区在线看| 日本一区二区三区视频视频| 免费人成在线不卡| 欧美日韩国产乱码电影| 中文字幕在线播放不卡一区| 免费在线观看视频一区| 欧美日韩黄色一区二区| 亚洲欧洲中文日韩久久av乱码| 国产成人免费视频| 久久精品视频在线免费观看| 日韩精品国产精品| 欧美日韩在线播放一区| 一区二区三区四区不卡视频| 成人av电影免费观看| 国产欧美日韩一区二区三区在线观看| 日本欧洲一区二区| 91精品国产91综合久久蜜臀| 午夜免费久久看| 欧美日韩一区二区在线观看视频| 亚洲欧美日韩成人高清在线一区| 99亚偷拍自图区亚洲| 亚洲欧洲av一区二区三区久久| 大胆欧美人体老妇| 国产精品久久久久四虎| yourporn久久国产精品| 国产精品久久久一本精品 | 亚洲成人资源网| 在线精品视频免费观看| 亚洲综合一区二区精品导航| 日本韩国一区二区三区| 亚洲一级二级三级| 欧美一卡2卡三卡4卡5免费| 奇米影视在线99精品| 2014亚洲片线观看视频免费| 国产精品88av| 亚洲天天做日日做天天谢日日欢 | 久久爱www久久做| 精品1区2区在线观看| 福利91精品一区二区三区| 国产精品久久国产精麻豆99网站| www.日韩大片| 午夜精品免费在线观看| 日韩精品一区二区在线观看| 国产一区二区三区久久悠悠色av| 国产三级精品在线| 色婷婷亚洲精品| 青青草97国产精品免费观看 | 欧美精品一区二| 97久久精品人人澡人人爽| 亚洲黄色片在线观看| 欧美一区二区三区四区高清| 国产乱码精品1区2区3区| 亚洲欧美日韩系列| 日韩免费在线观看| 91香蕉视频在线| 日韩av电影天堂| 中文字幕不卡一区| 91精品国产一区二区三区香蕉| 狠狠久久亚洲欧美| 亚洲激情中文1区| 精品国产乱码久久久久久免费| 播五月开心婷婷综合| 青青草国产精品97视觉盛宴 | 久久综合999| 色菇凉天天综合网| 国产精品伊人色| 亚洲成人精品影院| 国产精品萝li| 日韩欧美电影在线| 日本道精品一区二区三区| 久久99国内精品| 亚洲福利视频三区| 国产精品高潮呻吟久久| 日韩免费观看2025年上映的电影 | 久久久噜噜噜久久中文字幕色伊伊| 99久久综合精品| 狠狠v欧美v日韩v亚洲ⅴ| 亚洲图片欧美视频| 亚洲视频网在线直播| 欧美大片免费久久精品三p| 色屁屁一区二区| 成人黄色av电影| 国产乱码精品一区二区三区五月婷 | 久久精品一区二区三区不卡牛牛| 欧美性xxxxx极品少妇| av爱爱亚洲一区| 国产不卡在线播放| 国产一区二区三区在线观看免费视频 | 欧美不卡在线视频| 欧美区在线观看| 在线视频国内一区二区| 国产99久久久国产精品| 精品一区二区免费看| 日韩福利视频导航| 日韩精品亚洲专区| 天天色综合成人网| 亚洲高清久久久| 日日噜噜夜夜狠狠视频欧美人| 亚洲三级在线免费| 亚洲精品欧美激情| 国产精品每日更新在线播放网址| 日韩久久久精品| 精品国产乱码久久久久久1区2区 | 亚洲最新在线观看| 亚洲精品免费一二三区| 中文字幕在线一区二区三区| 国产精品污污网站在线观看| 久久久久久日产精品| 久久网站热最新地址| 久久先锋影音av| 国产精品久久毛片| 亚洲精品成人在线| 视频精品一区二区| 免费在线观看视频一区| 激情六月婷婷综合| 成人国产在线观看| 91福利国产精品| 欧美另类videos死尸| 欧美电影精品一区二区| 国产欧美日韩精品a在线观看| 国产欧美一区二区三区网站| 国产精品久久久久久久久免费樱桃 | 色香色香欲天天天影视综合网| 91在线观看一区二区| 欧美亚洲禁片免费| 欧美电影一区二区三区| 精品欧美乱码久久久久久| 久久久国际精品| 亚洲卡通欧美制服中文| 日本一不卡视频| 懂色av中文字幕一区二区三区| 99视频国产精品| 欧美一区二区三区在线看| 久久综合狠狠综合| 亚洲免费毛片网站| 久久精品国产秦先生| 成人动漫一区二区在线| 欧美日韩一区在线观看| 国产视频一区二区在线| 亚洲愉拍自拍另类高清精品| 看电影不卡的网站| 在线日韩国产精品| 国产亚洲视频系列| 五月激情六月综合| 国产91精品一区二区| 欧美日韩国产另类不卡| 中文字幕精品综合| 麻豆精品视频在线| 一本久久精品一区二区| 精品奇米国产一区二区三区| 亚洲乱码国产乱码精品精可以看| 蜜桃免费网站一区二区三区| 99re这里都是精品| www成人在线观看| 亚洲一区在线观看网站| 国产高清成人在线| 91麻豆精品国产91久久久更新时间| 日本一区二区视频在线观看| 日韩精品亚洲一区二区三区免费| 99精品视频在线观看| 欧美成人精精品一区二区频| 亚洲午夜久久久久| 91欧美激情一区二区三区成人| 久久只精品国产| 久久99这里只有精品| 欧美精选午夜久久久乱码6080| ㊣最新国产の精品bt伙计久久| 国产一区二区中文字幕| 91精品国产品国语在线不卡| 亚洲综合一二三区| 一本到不卡精品视频在线观看| 久久综合狠狠综合久久激情| 日韩成人精品在线观看| 欧美日韩在线三区| 亚洲欧美韩国综合色| 不卡在线视频中文字幕| 国产视频一区不卡| 国产精品系列在线播放| 久久影院电视剧免费观看| 久久国产人妖系列| 精品久久久久久久久久久久久久久| 午夜精品国产更新| 欧美男人的天堂一二区| 亚瑟在线精品视频| 欧美精品一级二级| 蜜桃视频一区二区| 久久综合久久综合九色|