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