pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:178:   %left F_LSH F_RSH   %left '+' '-'   %left '*' '%' '/'   %right F_NOT '~'   %nonassoc F_INC F_DEC      %{   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.153 1999/12/18 02:28:13 grubba Exp $"); + RCSID("$Id: language.yacc,v 1.154 1999/12/19 01:30:15 grubba Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif      #include "interpret.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "las.h"   #include "interpret.h"
pike.git/src/language.yacc:747:    free_node($4);    free_node($<n>9);    }    | modifiers type_or_error optional_stars F_IDENTIFIER push_compiler_frame0    error    {    pop_compiler_frame();    free_node($4);    }    | modifiers type_or_error optional_stars bad_identifier -  '(' arguments ')' block_or_semi +     {    free_string(compiler_pop_type());    } -  +  '(' arguments ')' block_or_semi +  { +  if ($9) free_node($9); +  }    | modifiers type_or_error name_list ';' {}    | inheritance {}    | import {}    | constant {}    | class { free_node($1); }    | error F_LEX_EOF    {    reset_type_stack();    yyerror("Missing ';'.");    yyerror("Unexpected end of file");