Diff for /embedaddon/lighttpd/src/lempar.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2013/10/14 10:32:47 version 1.1.1.2, 2016/11/02 10:35:00
Line 3 Line 3
 */  */
 /* First off, code is include which follows the "include" declaration  /* First off, code is include which follows the "include" declaration
 ** in the input file. */  ** in the input file. */
   #include "first.h"
 #include <stdio.h>  #include <stdio.h>
 %%  %%
 /* Next is all token values, in a form suitable for use by makeheaders.  /* Next is all token values, in a form suitable for use by makeheaders.
Line 277  static void yy_destructor(YYCODETYPE yymajor, YYMINORT Line 278  static void yy_destructor(YYCODETYPE yymajor, YYMINORT
 */  */
 static int yy_pop_parser_stack(yyParser *pParser){  static int yy_pop_parser_stack(yyParser *pParser){
   YYCODETYPE yymajor;    YYCODETYPE yymajor;
  yyStackEntry *yytos = &pParser->yystack[pParser->yyidx];  yyStackEntry *yytos;
   
   if( pParser->yyidx<0 ) return 0;    if( pParser->yyidx<0 ) return 0;
     yytos = &pParser->yystack[pParser->yyidx];
 #ifndef NDEBUG  #ifndef NDEBUG
   if( yyTraceFILE && pParser->yyidx>=0 ){    if( yyTraceFILE && pParser->yyidx>=0 ){
     fprintf(yyTraceFILE,"%sPopping %s\n",      fprintf(yyTraceFILE,"%sPopping %s\n",
Line 459  static void yy_reduce( Line 461  static void yy_reduce(
   ParseARG_FETCH;    ParseARG_FETCH;
   yymsp = &yypParser->yystack[yypParser->yyidx];    yymsp = &yypParser->yystack[yypParser->yyidx];
 #ifndef NDEBUG  #ifndef NDEBUG
  if( yyTraceFILE && yyruleno>=0  if( yyTraceFILE ) {
     if (yyruleno>=0
         && (size_t)yyruleno<sizeof(yyRuleName)/sizeof(yyRuleName[0]) ){          && (size_t)yyruleno<sizeof(yyRuleName)/sizeof(yyRuleName[0]) ){
    fprintf(yyTraceFILE, "%sReduce [%s].\n", yyTracePrompt,      fprintf(yyTraceFILE, "%sReduce [%s].\n", yyTracePrompt,
      yyRuleName[yyruleno]);        yyRuleName[yyruleno]);
     } else {
       return; /*(should not happen)*/
     }
   }    }
 #endif /* NDEBUG */  #endif /* NDEBUG */
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>