pike.git / src / lex.c

version» Context lines:

pike.git/src/lex.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: lex.c,v 1.38 1998/05/20 16:42:25 grubba Exp $"); + RCSID("$Id: lex.c,v 1.39 1998/05/31 18:39:12 grubba Exp $");   #include "language.h"   #include "array.h"   #include "lex.h"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "constants.h"   #include "hashtable.h"   #include "stuff.h"   #include "pike_memory.h"   #include "interpret.h"
pike.git/src/lex.c:2247:      /*** ***/      static void start_new(void)   {    struct pike_predef_s *tmpf;       free_all_defines();       simple_add_define("__PIKE__", "1",0); +  simple_add_define("__VERSION__", "0.5", 0);       for (tmpf=pike_predefs; tmpf; tmpf=tmpf->next)    simple_add_define(tmpf->name, tmpf->value,0);       simple_add_define("__LINE__",0,insert_current_line);    simple_add_define("__FILE__",0,insert_current_file_as_string);    simple_add_define("__DATE__",0,insert_current_date_as_string);    simple_add_define("__TIME__",0,insert_current_time_as_string);       free_inputstate(istate);