Lines Matching refs:tok
86 static int record(int tok, const char *s);
89 static void dopragma(const char *tok);
679 int tok; member
685 record(int tok, const char *s) in record() argument
699 Recorded[Recordnext].tok = tok; in record()
702 yylval.tok.s = s; in record()
703 yylval.tok.file = File; in record()
704 yylval.tok.line = Line; in record()
705 return (tok); in record()
715 if (Recorded[i].s && Recorded[i].tok != ARROW) in dumpline()
716 switch (Recorded[i].tok) { in dumpline()
728 switch (Recorded[i].tok) { in dumpline()
761 if (isprint(Recorded[i].tok)) in dumpline()
763 Recorded[i].tok); in dumpline()
766 Recorded[i].tok); in dumpline()
917 dopragma(const char *tok) in dopragma() argument
919 if (strcmp(tok, "ident") == 0) in dopragma()
921 else if (strcmp(tok, "dictionary") == 0) in dopragma()
923 else if (strcmp(tok, "new_errors_only") == 0) { in dopragma()
927 } else if (strcmp(tok, "trust_ereports") == 0) { in dopragma()
931 } else if (strcmp(tok, "allow_cycles") == 0) in dopragma()
935 "unknown pragma ignored: \"%s\"", tok); in dopragma()