Lines Matching defs:cfg_parser
91 struct config_parser_state* cfg_parser = 0;
1470 /** initialize the global cfg_parser object */
1475 cfg_parser = &st;
1476 cfg_parser->filename = filename;
1477 cfg_parser->line = 1;
1478 cfg_parser->errors = 0;
1479 cfg_parser->cfg = cfg;
1480 cfg_parser->chroot = chroot;
1481 cfg_parser->started_toplevel = 0;
1603 if(cfg_parser->errors != 0) {
1605 fname, cfg_parser->errors);
2090 cfg_parser->errors++;
2091 fprintf(stderr, "%s:%d: error: ", cfg_parser->filename,
2092 cfg_parser->line);
2108 cfg_parser->errors++;
2109 if(strcmp(str, "syntax error")==0 && cfg_parser->started_toplevel ==0)
2112 fprintf(stderr, "%s:%d: error: %s\n", cfg_parser->filename,
2113 cfg_parser->line, str);