Lines Matching full:print
14 state == 1 { print; next; }
16 print;
23 print "static const struct", struct_seen, "wordlist[] = {";
25 print "static const struct map {";
26 print "\tconst char *name;";
27 print "\tint key;";
28 print "\tint valid;";
29 print "} wordlist[] = {";
36 print "\t{ NULL, 0, 0 }";
37 print "};";
38 print "#include <sys/param.h>";
39 print "#define\tNWORDS\t(nitems(wordlist) - 1)";
40 print "static const struct map *";
41 print "in_word_set(const char *word)";
42 print "{";
43 print "\tconst struct", struct_seen, "*mp;";
44 print "";
45 print "\tfor (mp = wordlist; mp < &wordlist[NWORDS]; mp++) {";
46 print "\t\tif (strcmp(word, mp->name) == 0)";
47 print "\t\t\treturn (mp);";
48 print "\t}";
49 print "\treturn (NULL);";
50 print "}";
51 print "";
58 print "#else";
60 print "#endif"
63 state == 3 { print; next; }