Lines Matching refs:file
130 /* Returned upon end-of-file. */
156 /* Special action meaning "start processing a new file". */
264 * just pointing zconfin at a new input file.
308 YY_BUFFER_STATE zconf_create_buffer (FILE *file,int size );
316 static void zconf_init_buffer (YY_BUFFER_STATE b,FILE *file );
786 struct file *file;
1031 while ( 1 ) /* loops until end-of-file is reached */
1092 current_pos.file = current_file;
1349 /* We're scanning a new file or input source. It's
1472 * EOB_ACT_END_OF_FILE - end of file
1811 * @param file A readable stream.
1816 YY_BUFFER_STATE zconf_create_buffer (FILE * file, int size )
1835 zconf_init_buffer(b,file );
1863 static void zconf_init_buffer (YY_BUFFER_STATE b, FILE * file )
1870 b->yy_input_file = file;
2317 * Try to open specified file with following names:
2322 * Return NULL if file is not found.
2344 printf("can't find file %s\n", name);
2358 struct file *file = file_lookup(name);
2365 printf("%s:%d: can't open file \"%s\"\n", zconf_curname(), zconf_lineno(), name);
2372 if (file->flags & FILE_BUSY) {
2377 if (file->flags & FILE_SCANNED) {
2378 printf("%s:%d: file '%s' is already sourced from '%s'\n",
2380 file->parent->name);
2383 file->flags |= FILE_BUSY;
2384 file->lineno = 1;
2385 file->parent = current_file;
2386 current_file = file;
2414 return current_pos.file ? current_pos.file->name : "<none>";