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.317 2004/10/11 16:41:48 mast Exp $ + || $Id: language.yacc,v 1.318 2005/10/13 14:56:24 mast 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.317 2004/10/11 16:41:48 mast Exp $"); + RCSID("$Id: language.yacc,v 1.318 2005/10/13 14:56:24 mast 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:185:   /* Needs to be included after YYSTYPE is defined. */   #include "lex.h"   %}      %{   /* Include <stdio.h> our selves, so that we can do our magic    * without being disturbed... */   #include <stdio.h>   int yylex(YYSTYPE *yylval);   /* Bison is stupid, and tries to optimize for space... */ - #ifdef YYBISON - #define short int - #endif /* YYBISON */ + #ifdef BISON_SHORT_EXPANSION + #define short BISON_SHORT_EXPANSION + #endif      %}      %type <fnum> TOK_FLOAT      %type <number> TOK_ARRAY_ID   %type <number> TOK_BREAK   %type <number> TOK_CASE   %type <number> TOK_CATCH   %type <number> TOK_CONTINUE