Branch: Tag:

1996-06-21

1996-06-21 19:36:34 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

include fixed

Rev: src/lex.c:1.10

27:   #include <math.h>   #include <fcntl.h>   #include <errno.h> + #include "time_stuff.h"    - #if TIME_WITH_SYS_TIME - # include <sys/time.h> - # include <time.h> - #else - # if HAVE_SYS_TIME_H - # include <sys/time.h> - # else - # if HAVE_TIME_H - # include <time.h> - # endif - # endif - #endif -  +    #define LEXDEBUG 0   #define EXPANDMAX 50000   
968:      /*** Handle include ****/    - static void handle_include(char *name) + static void handle_include(char *name, int local_include)   {    int fd;    char buf[400];
976:    push_string(make_shared_string(name));    push_string(current_file);    reference_shared_string(current_file); +  push_int(local_include);       SAFE_APPLY_MASTER("handle_include",2);   
1243:    continue;    }    } -  handle_include(buf); +  handle_include(buf, c==F_STRING);    break;    }