Lines Matching defs:cfg_parser
87 struct config_parser_state* cfg_parser = 0;
1375 /** initialize the global cfg_parser object */
1380 cfg_parser = &st;
1381 cfg_parser->filename = filename;
1382 cfg_parser->line = 1;
1383 cfg_parser->errors = 0;
1384 cfg_parser->cfg = cfg;
1385 cfg_parser->chroot = chroot;
1386 cfg_parser->started_toplevel = 0;
1470 if(cfg_parser->errors != 0) {
1472 fname, cfg_parser->errors);
1934 cfg_parser->errors++;
1935 fprintf(stderr, "%s:%d: error: ", cfg_parser->filename,
1936 cfg_parser->line);
1952 cfg_parser->errors++;
1953 if(strcmp(str, "syntax error")==0 && cfg_parser->started_toplevel ==0)
1956 fprintf(stderr, "%s:%d: error: %s\n", cfg_parser->filename,
1957 cfg_parser->line, str);