/[bison]/bison/src/bison.simple
ViewVC logotype

Diff of /bison/src/bison.simple

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.53.2.1 by ra, Wed Aug 29 12:21:38 2001 UTC revision 1.53.2.2 by akim, Wed Oct 10 14:52:20 2001 UTC
# Line 72  Line 72 
72  # endif /* alloca not defined */  # endif /* alloca not defined */
73  #endif /* YYSTACK_USE_ALLOCA not defined */  #endif /* YYSTACK_USE_ALLOCA not defined */
74    
75    #ifndef YYSTACK_USE_ALLOCA
76    # define YYSTACK_USE_ALLOCA 0
77    #endif
78    
79  #if YYSTACK_USE_ALLOCA  #if YYSTACK_USE_ALLOCA
80  # define YYSTACK_ALLOC alloca  # define YYSTACK_ALLOC alloca
81  #else  #else
# Line 358  yyparse (YYPARSE_PARAM_ARG) Line 362  yyparse (YYPARSE_PARAM_ARG)
362       have just been pushed. so pushing a state here evens the stacks.       have just been pushed. so pushing a state here evens the stacks.
363       */       */
364    yyssp++;    yyssp++;
365      
366   yysetstate:   yysetstate:
367    *yyssp = yystate;    *yyssp = yystate;
368    
# Line 416  yyparse (YYPARSE_PARAM_ARG) Line 420  yyparse (YYPARSE_PARAM_ARG)
420        yystacksize *= 2;        yystacksize *= 2;
421        if (yystacksize > YYMAXDEPTH)        if (yystacksize > YYMAXDEPTH)
422          yystacksize = YYMAXDEPTH;          yystacksize = YYMAXDEPTH;
423  # ifndef YYSTACK_USE_ALLOCA  # if YYSTACK_USE_ALLOCA
424        yyfree_stacks = 1;        yyfree_stacks = 1;
425  # endif  # endif
426        yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));        yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));

Legend:
Removed from v.1.53.2.1  
changed lines
  Added in v.1.53.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26