Lines Matching refs:lineno

88     int     lineno;			/* source file line number */
138 int lineno; /* where in file */
169 dict_regexp->dict.name, match_rule->rule.lineno,
191 static void dict_regexp_regerror(const char *mapname, int lineno, int error,
197 msg_warn("regexp map %s, line %d: %s", mapname, lineno, errbuf);
251 if (!DICT_REGEXP_REGEXEC(error, dict->name, rule->lineno,
260 && !DICT_REGEXP_REGEXEC(error, dict->name, rule->lineno,
292 dict->name, rule->lineno);
301 if (DICT_REGEXP_REGEXEC(error, dict->name, rule->lineno,
372 static int dict_regexp_get_pat(const char *mapname, int lineno, char **bufp,
394 mapname, lineno);
416 "skipping this rule", mapname, lineno, re_delim);
438 "skipping this rule", mapname, lineno, *p);
449 static int dict_regexp_get_pats(const char *mapname, int lineno, char **p,
457 if (dict_regexp_get_pat(mapname, lineno, p, first_pat) == 0)
466 mapname, lineno);
470 if (dict_regexp_get_pat(mapname, lineno, p, second_pat) == 0)
497 ctxt->mapname, ctxt->lineno, vstring_str(buf));
503 ctxt->mapname, ctxt->lineno, vstring_str(buf));
511 ctxt->mapname, ctxt->lineno);
519 static regex_t *dict_regexp_compile_pat(const char *mapname, int lineno,
528 dict_regexp_regerror(mapname, lineno, error, expr);
538 int lineno,
546 rule->lineno = lineno;
554 static DICT_REGEXP_RULE *dict_regexp_parseline(const char *mapname, int lineno,
576 if (!dict_regexp_get_pats(mapname, lineno, &p, &first_pat, &second_pat))
586 mapname, lineno);
598 prescan_context.lineno = lineno;
618 "skipping this rule", mapname, lineno);
632 "replacement text: skipping this rule", mapname, lineno);
638 "skipping this rule", mapname, lineno);
641 if ((first_exp = dict_regexp_compile_pat(mapname, lineno,
646 "skipping this rule", mapname, lineno,
652 if ((second_exp = dict_regexp_compile_pat(mapname, lineno,
659 dict_regexp_rule_alloc(DICT_REGEXP_OP_MATCH, nesting, lineno,
684 if (!dict_regexp_get_pat(mapname, lineno, &p, &pattern))
690 " IF statement: \"%s\"", mapname, lineno, p);
692 " to statements between IF and ENDIF", mapname, lineno);
694 if ((expr = dict_regexp_compile_pat(mapname, lineno, &pattern)) == 0)
697 dict_regexp_rule_alloc(DICT_REGEXP_OP_IF, nesting, lineno,
713 mapname, lineno);
720 mapname, lineno);
721 rule = dict_regexp_rule_alloc(DICT_REGEXP_OP_ENDIF, nesting, lineno,
731 mapname, lineno);
745 int lineno = 0;
769 while (readlline(line_buffer, map_fp, &lineno)) {
774 rule = dict_regexp_parseline(mapname, lineno, p, nesting, dict_flags);
794 mapname, lineno);