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.329 2004/03/13 16:14:15 grubba Exp $ + || $Id: language.yacc,v 1.330 2004/03/13 16:15:38 grubba Exp $   */      %pure_parser      %token TOK_ARROW      /*    * Basic value pushing    */   %token TOK_CONSTANT TOK_FLOAT TOK_STRING
pike.git/src/language.yacc:106:   %left TOK_LSH TOK_RSH   %left '+' '-'   %left '*' '%' '/'   %right TOK_NOT '~'   %nonassoc TOK_INC TOK_DEC      %{   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.329 2004/03/13 16:14:15 grubba Exp $"); + RCSID("$Id: language.yacc,v 1.330 2004/03/13 16:15:38 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:2508:    struct program *p;    if(Pike_compiler->compiler_pass == 1)    p=end_first_pass(0);    else    p=end_first_pass(1);       /* fprintf(stderr, "LANGUAGE.YACC: CLASS end\n"); */       if(p) {    free_program(p); +  } else { +  Pike_compiler->num_parse_error++;    }       $$=mkidentifiernode($<number>5);       free_node ($3);    free_node($4);    check_tree($$,0);    }    ;