| 4067 | } |
| 4068 | |
| 4069 | void zconf_initscan(const char *name) |
| 4070 | { |
| 4071 | yyin = zconf_fopen(name); |
| 4072 | if (!yyin) { |
| 4073 | fprintf(stderr, "can't find file %s\n", name); |
| 4074 | exit(1); |
| 4075 | } |
| 4076 | |
| 4077 | current_buf = xmalloc(sizeof(*current_buf)); |
| 4078 | memset(current_buf, 0, sizeof(*current_buf)); |
| 4079 | |
| 4080 | current_file = file_lookup(name); |
| 4081 | yylineno = 1; |
| 4082 | } |
| 4083 | |
| 4084 | static void __zconf_nextfile(const char *name) |
| 4085 | { |
no test coverage detected