pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:174:   %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.109 1999/01/31 09:01:50 hubbe Exp $"); + RCSID("$Id: language.yacc,v 1.110 1999/02/20 17:43:39 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" - #include "lex.h" +    #include "program.h"   #include "pike_types.h"   #include "constants.h"   #include "pike_macros.h"   #include "error.h"   #include "docode.h"   #include "machine.h"      #define YYMAXDEPTH 1000   
pike.git/src/language.yacc:231:   %}      %union   {    int number;    FLOAT_TYPE fnum;    struct node_s *n;   }      %{ + /* 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 */   %}