pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:8244:    yyreport(REPORT_ERROR, parser_system_string, 1, "%s");    }    }       pop_stack();    free_svalue(&thrown);   }      extern int yyparse(void);    + static void do_yyparse(void) + { +  struct svalue *save_sp = Pike_sp; +  yyparse(); /* Parse da program */ +  if (save_sp != Pike_sp) {   #ifdef PIKE_DEBUG - #define do_yyparse() do { \ -  struct svalue *save_sp=Pike_sp; \ -  yyparse(); /* Parse da program */ \ -  if(save_sp != Pike_sp) { \ -  Pike_fatal("yyparse() left %"PRINTPTRDIFFT"d droppings on the stack!\n", \ -  Pike_sp - save_sp); \ -  } \ - }while(0) - #else - #define do_yyparse() yyparse() +  if (!Pike_compiler->num_parse_error) { +  Pike_fatal("yyparse() left %"PRINTPTRDIFFT"d droppings on the stack!\n", +  Pike_sp - save_sp); +  }   #endif -  +  pop_n_elems(Pike_sp - save_sp); +  } + }      struct Supporter *current_supporter=0;         #ifdef PIKE_DEBUG      struct supporter_marker   {    struct supporter_marker *next;    void *data;