pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:1:   /* -*- c -*-   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: language.yacc,v 1.430 2008/06/12 15:59:49 grubba Exp $ + || $Id: language.yacc,v 1.431 2008/06/16 22:16:53 mast Exp $   */      %pure_parser      %token TOK_ARROW      /*    * Basic value pushing    */   %token TOK_CONSTANT TOK_FLOAT TOK_STRING
pike.git/src/language.yacc:1097:    {    pop_compiler_frame();    free_node($6);    if ($2)    free_node($2);    }    | modifiers optional_attributes type_or_error optional_constant optional_stars bad_identifier    {    if ($2)    free_node($2); -  free_type(compiler_pop_type()); +  compiler_discard_type();    }    '(' arguments ')' block_or_semi    {    if ($11) free_node($11);    }    | modifiers optional_attributes type_or_error optional_constant name_list ';'    {    if ($2) {    yyerror("Invalid use of attributes in variable declaration.\n");    free_node($2);