OSDN Git Service

print_string -> prints.
authormaqiyuan <maqiyuan@users.sourceforge.jp>
Mon, 23 Jun 2014 14:38:52 +0000 (22:38 +0800)
committermaqiyuan <maqiyuan@users.sourceforge.jp>
Mon, 23 Jun 2014 14:38:52 +0000 (22:38 +0800)
14 files changed:
src/texsourc/coerce.h
src/texsourc/itex.c
src/texsourc/tex0.c
src/texsourc/tex1.c
src/texsourc/tex2.c
src/texsourc/tex3.c
src/texsourc/tex4.c
src/texsourc/tex5.c
src/texsourc/tex6.c
src/texsourc/tex7.c
src/texsourc/tex8.c
src/texsourc/tex9.c
src/texsourc/yandy_inlines.c
src/texsourc/yandy_macros.h

index 1194c61..b305ac0 100644 (file)
@@ -22,8 +22,8 @@ void print_char_(ASCII_code);
 #define print_char(s) print_char_((ASCII_code) (s))
 void print_(integer);
 #define print(s) print_((integer) (s))
-void print_string_(const char * s);
-#define print_string(s) print_string_((const char *) s)
+void prints_(const char * s);
+#define prints(s) prints_((const char *) s)
 void slow_print_(integer);
 #define slow_print(s) slow_print_((integer) (s))
 void print_nl(const char *);
index b564aba..1b14367 100644 (file)
@@ -1001,9 +1001,9 @@ void prefixed_command (void)
   {
     print_err("You can't use `");
     print_esc("long");
-    print_string("' or `");
+    prints("' or `");
     print_esc("outer");
-    print_string("' with `");
+    prints("' with `");
     print_cmd_chr(cur_cmd, cur_chr); 
     print_char('\'');
     help1("I'll pretend you didn't say \\long or \\outer here.");
@@ -1288,9 +1288,9 @@ void prefixed_command (void)
           print_int(cur_val);
 
           if (p < del_code_base)
-            print_string("), should be in the range 0..");
+            prints("), should be in the range 0..");
           else
-            print_string("), should be at most ");
+            prints("), should be at most ");
 
           print_int(n);
           help1("I'm going to use 0 instead of that illegal code value.");
@@ -1994,7 +1994,7 @@ void final_cleanup (void)
 
   while (open_parens > 0)
   {
-    print_string(" )");
+    prints(" )");
     decr(open_parens);
   }
 
@@ -2002,7 +2002,7 @@ void final_cleanup (void)
   {
     print_nl("(");
     print_esc("end occurred ");
-    print_string("inside a group at level ");
+    prints("inside a group at level ");
     print_int(cur_level - 1);
     print_char(')');
   }
@@ -2011,16 +2011,16 @@ void final_cleanup (void)
   {
     print_nl("(");
     print_esc("end occurred ");
-    print_string("when ");
+    prints("when ");
     print_cmd_chr('i', cur_if);
 
     if (if_line != 0)
     {
-      print_string("on line ");
+      prints("on line ");
       print_int(if_line);
     }
 
-    print_string(" was incomplete)");
+    prints(" was incomplete)");
     if_line = mem[cond_ptr + 1].cint;
     cur_if = subtype(cond_ptr);
     temp_ptr = cond_ptr;
@@ -2341,7 +2341,7 @@ final_end:
 }
 
 #ifdef ALLOCATEMAIN
-/* add a block of variable size node space below mem_bot */
+/* add a block of variable size node space below mem_bot(0) */
 void add_variable_space(int size)
 {
   halfword p;
@@ -2620,21 +2620,20 @@ boolean get_strings_started (void)
 
   for (k = 0; k <= 255; k++)
   {
-    if (((k < ' ') || (k > '~')))
+    if ( (k < ' ') || (k > '~') )
     {
       append_char('^');
       append_char('^');
 
       if (k < 64)
         append_char(k + 64);
+      else if (k < 128)
+        append_char(k - 64);
       else
-        if (k < 128)
-          append_char(k - 64);
-        else
-        {
-          append_lc_hex(k / 16);
-          append_lc_hex(k % 16);
-        }
+      {
+        append_lc_hex(k / 16);
+        append_lc_hex(k % 16);
+      }
     }
     else
       append_char(k);
@@ -2652,7 +2651,7 @@ boolean get_strings_started (void)
 
   return true;
 }
-#endif /* INITEX */
+#endif
 
 #ifdef INITEX
 /* sec 0131 */
@@ -2709,7 +2708,7 @@ void primitive_ (str_number s, quarterword c, halfword o)
   pool_pointer k;
   small_number j;
 /*  small_number l;  */
-  int l; /* 95/Jan/7 */
+  int l;
 
   if (s < 256)
     cur_val = s + single_base;
@@ -2723,12 +2722,6 @@ void primitive_ (str_number s, quarterword c, halfword o)
 
     cur_val = id_lookup(0, l);
     flush_string();
-
-#ifdef SHORTHASH
-    if (s > 65535L)
-      puts("ERROR: hash entry too large\n");
-#endif
-
     text(cur_val) = s;
   }
 
@@ -3277,7 +3270,7 @@ void store_fmt_file (void)
   }
 
   selector = new_string;
-  print_string(" (format=");
+  prints(" (format=");
   print(job_name);
   print_char(' ');
   print_int(year);
@@ -3324,7 +3317,7 @@ void store_fmt_file (void)
 
   print_ln();
   print_int(str_ptr);
-  print_string(" strings of total length ");
+  prints(" strings of total length ");
   print_int(pool_ptr);
 
   sort_avail();
@@ -3373,7 +3366,7 @@ void store_fmt_file (void)
   dump_int(dyn_used);
   print_ln();
   print_int(x);
-  print_string(" memory locations dumped; current usage is ");
+  prints(" memory locations dumped; current usage is ");
   print_int(var_used);
   print_char('&');
   print_int(dyn_used);
@@ -3480,7 +3473,7 @@ done2:
   dump_int(cs_count);
   print_ln();
   print_int(cs_count);
-  print_string(" multiletter control sequences");
+  prints(" multiletter control sequences");
 
   dump_int(fmem_ptr);
 
@@ -3569,18 +3562,18 @@ done2:
 
       if (font_size[k] != font_dsize[k])
       {
-        print_string(" at ");
+        prints(" at ");
         print_scaled(font_size[k]);
-        print_string("pt");
+        prints("pt");
       }
     }
   }
 
   print_ln();
   print_int(fmem_ptr - 7);
-  print_string(" words of font info for ");
+  prints(" words of font info for ");
   print_int(font_ptr - 0);
-  print_string(" preloaded font");
+  prints(" preloaded font");
 
   if (font_ptr != 1)
     print_char('s');
@@ -3599,7 +3592,7 @@ done2:
 
   print_ln();
   print_int(hyph_count);
-  print_string(" hyphenation exception");
+  prints(" hyphenation exception");
 
   if (hyph_count != 1)
     print_char('s');
@@ -3631,14 +3624,14 @@ done2:
 
   print_nl("Hyphenation trie of length ");
   print_int(trie_max);
-  print_string(" has ");
+  prints(" has ");
   print_int(trie_op_ptr);
-  print_string(" op");
+  prints(" op");
 
   if (trie_op_ptr != 1)
     print_char('s');
 
-  print_string(" out of ");
+  prints(" out of ");
   print_int(trie_op_size);
 
   for (k = 255; k >= 0; k--)
@@ -3647,7 +3640,7 @@ done2:
     {
       print_nl("  ");
       print_int(trie_used[k]);
-      print_string(" for language ");
+      prints(" for language ");
       print_int(k);
       dump_int(k);
       dump_int(trie_used[k]);
index 90ad12f..b751321 100644 (file)
@@ -212,7 +212,7 @@ void print_ (integer s)
   }
 }
 /* string version print. */
-void print_string_ (const char *s)
+void prints_ (const char *s)
 {
   while (*s > 0)
     print_char(*s++);
@@ -242,7 +242,7 @@ void print_nl (const char * s)
       ((file_offset > 0) && (selector >= log_only)))
     print_ln();
 
-  print_string(s);
+  prints(s);
 }
 /* sec 0063 */
 void print_esc (const char * s)
@@ -255,7 +255,7 @@ void print_esc (const char * s)
     if (c < 256)
       print(c);
 
-  print_string(s);
+  prints(s);
 }
 /* sec 0064 */
 void print_the_digs_ (eight_bits k)
@@ -526,7 +526,7 @@ continu:
               do
                 {
                   decr(help_ptr);
-                  print_string(help_line[help_ptr]);
+                  prints(help_line[help_ptr]);
                   print_ln();
                 }
               while (!(help_ptr == 0));
@@ -568,7 +568,7 @@ continu:
           {
             error_count = 0; 
             interaction = 0 + c - 81; /* Q = 0, R = 1, S = 2, T = 3 */
-            print_string("OK, entering ");
+            prints("OK, entering ");
 
             switch (c)
             {
@@ -586,7 +586,7 @@ continu:
                 break;
             }
 
-            print_string("...");
+            prints("...");
             print_ln();
             update_terminal();
             return;
@@ -605,12 +605,12 @@ continu:
       }           /* end of switch analysing response character */
 
       {
-        print_string("Type <return> to proceed, S to scroll future error messages,");
+        prints("Type <return> to proceed, S to scroll future error messages,");
         print_nl("R to run without stopping, Q to run quietly,");
         print_nl("I to insert something, ");
 
         if (base_ptr > 0)
-          print_string("E to edit your file,");
+          prints("E to edit your file,");
 
         if (deletions_allowed)
           print_nl("1 or ... or 9 to ignore the next 1 to 9 tokens of input,");
@@ -662,7 +662,7 @@ void overflow_(char * s, integer n)
 {
   normalize_selector();
   print_err("TeX capacity exceeded, sorry [");
-  print_string(s);
+  prints(s);
   print_char('=');
   print_int(n);
   print_char(']');
@@ -693,7 +693,7 @@ void confusion_(const char * s)
   if (history < error_message_issued)
   {
     print_err("This can't happen (");
-    print_string(s);
+    prints(s);
     print_char(')');
     help1("I'm broken. Please show this to someone who can fix can fix");
   }
@@ -939,7 +939,7 @@ void term_input(void)
 /* sec 0091 */
 void int_error_ (integer n)
 {
-  print_string(" (");
+  prints(" (");
   print_int(n);
   print_char(')');
   error();
@@ -1279,7 +1279,7 @@ void show_token_list_(integer p, integer q, integer l)
           break;
         
         case end_match:
-          print_string("->");
+          prints("->");
           break;
         
         default:
@@ -1305,22 +1305,22 @@ void runaway (void)
     switch (scanner_status)
     {
       case defining:
-        print_string("definition");
+        prints("definition");
         p = def_ref;
         break;
 
       case matching:
-        print_string("argument");
+        prints("argument");
         p = temp_head;
         break;
 
       case aligning:
-        print_string("preamble");
+        prints("preamble");
         p = hold_head;
         break;
 
       case absorbing:
-        print_string("text");
+        prints("text");
         p = def_ref;
         break;
     }
@@ -1521,8 +1521,8 @@ restart:
     return 0;
   }
 
-  add_variable_space (block_size); /* now to be found in itex.c */
-  goto restart;         /* go try get_node again */
+  add_variable_space (block_size);
+  goto restart; /* go try get_node again */
 
 found:
   link(r) = 0;
@@ -1917,7 +1917,7 @@ void short_display_(integer p)
       case mark_node:
       case adjust_node:
       case unset_node:
-        print_string("[]");
+        prints("[]");
         break;
       case rule_node:
         print_char('|');
@@ -1996,10 +1996,10 @@ void print_glue_(scaled d, integer order, char * s)
   print_scaled(d); 
 
   if ((order < normal) || (order > filll))
-    print_string("foul");
+    prints("foul");
   else if (order > 0)
   {
-    print_string("fil");
+    prints("fil");
 
     while (order > 1)
     {
@@ -2008,7 +2008,7 @@ void print_glue_(scaled d, integer order, char * s)
     }
   }
   else if (*s != '\0')
-    print_string(s);
+    prints(s);
 }
 /* sec 0178 */
 void print_spec_(integer p, char * s)
@@ -2020,17 +2020,17 @@ void print_spec_(integer p, char * s)
     print_scaled(width(p));
 
     if (*s != '\0')
-      print_string(s);
+      prints(s);
 
     if (stretch(p) != 0)
     {
-      print_string("plus");
+      prints("plus");
       print_glue(stretch(p), stretch_order(p), s);
     }
 
     if (shrink(p) != 0)
     {
-      print_string("minus");
+      prints("minus");
       print_glue(shrink(p), shrink_order(p), s);
     }
   }
@@ -2062,7 +2062,7 @@ void print_subsidiary_data_(halfword p, ASCII_code c)
   if ((pool_ptr - str_start[str_ptr]) >= depth_threshold)
   {
     if (math_type(p) != 0)
-      print_string(" []");
+      prints(" []");
   }
   else
   {
@@ -2086,7 +2086,7 @@ void print_subsidiary_data_(halfword p, ASCII_code c)
         {
           print_ln();
           print_current_string();
-          print_string("{}");
+          prints("{}");
         }
         else
           show_info();
@@ -2117,7 +2117,7 @@ void print_style_(integer c)
       print_esc("scriptscriptstyle");
       break;
     default:
-      print_string("Unknown style!");
+      prints("Unknown style!");
       break;
   }
 }
@@ -2199,7 +2199,7 @@ void print_skip_param_(integer n)
       break;
 
     default:
-      print_string("[unknown glue parameter!]");
+      prints("[unknown glue parameter!]");
       break;
   }
 }
@@ -2212,7 +2212,7 @@ void show_node_list_(integer p)
   if (cur_length > depth_threshold)
   {
     if (p != 0)    /* fixed 94/Mar/23 BUG FIX NOTE: still not fixed in 3.14159 ! */
-      print_string(" []");
+      prints(" []");
 
     return; 
   }
@@ -2225,7 +2225,7 @@ void show_node_list_(integer p)
 
     if (p > mem_end)
     {
-      print_string("Bad link, display aborted.");
+      prints("Bad link, display aborted.");
       return;
     }
 
@@ -2233,7 +2233,7 @@ void show_node_list_(integer p)
 
     if (n > breadth_max)
     {
-      print_string("etc.");
+      prints("etc.");
       return;
     }
 
@@ -2251,31 +2251,31 @@ void show_node_list_(integer p)
             print_esc("v");
           else print_esc("unset");
 
-          print_string("box(");
+          prints("box(");
           print_scaled(height(p));
           print_char('+');
           print_scaled(depth(p));
-          print_string(")x");
+          prints(")x");
           print_scaled(width(p));
 
           if (type(p) == unset_node)
           {
             if (span_count(p) != 0)
             {
-              print_string(" (");
+              prints(" (");
               print_int(span_count(p) + 1);
-              print_string(" columns)");
+              prints(" columns)");
             }
 
             if (glue_stretch(p) != 0)
             {
-              print_string(", stretch ");
+              prints(", stretch ");
               print_glue(glue_stretch(p), glue_order(p), "");
             }
 
             if (glue_shrink(p) != 0)
             {
-              print_string(", shrink ");
+              prints(", shrink ");
               print_glue(glue_shrink(p), glue_sign(p), "");
             }
           }
@@ -2285,17 +2285,17 @@ void show_node_list_(integer p)
 
             if ((g != 0.0) && (glue_sign(p) != 0))
             {
-              print_string(", glue set ");
+              prints(", glue set ");
 
               if (glue_sign(p) == shrinking)
-                print_string("- ");
+                prints("- ");
 
               if (fabs(g)> 20000.0)
               {
                 if (g > 0.0)
                   print_char('>');
                 else
-                  print_string("< -");
+                  prints("< -");
 
                 print_glue(20000 * unity, glue_order(p), "");
               }
@@ -2305,7 +2305,7 @@ void show_node_list_(integer p)
 
             if (shift_amount(p) != 0)
             {
-              print_string(", shifted ");
+              prints(", shifted ");
               print_scaled(shift_amount(p));
             }
           }
@@ -2327,7 +2327,7 @@ void show_node_list_(integer p)
           print_rule_dimen(height(p));
           print_char('+');
           print_rule_dimen(depth(p));
-          print_string(")x");
+          prints(")x");
           print_rule_dimen(width(p));
         }
         break;
@@ -2336,13 +2336,13 @@ void show_node_list_(integer p)
         {
           print_esc("insert");
           print_int(subtype(p));
-          print_string(", natural size ");
+          prints(", natural size ");
           print_scaled(height(p));
-          print_string("; split(");
+          prints("; split(");
           print_spec(split_top_ptr(p), "");
           print_char(',');
           print_scaled(depth(p));
-          print_string("); float cost ");
+          prints("); float cost ");
           print_int(float_cost(p));
           {
             {
@@ -2387,7 +2387,7 @@ void show_node_list_(integer p)
             {
               print_esc("setlanguage");
               print_int(what_lang(p));
-              print_string(" (hyphenmin ");
+              prints(" (hyphenmin ");
               print_int(what_lhm(p));
               print_char(',');
               print_int(what_rhm(p));
@@ -2396,7 +2396,7 @@ void show_node_list_(integer p)
             break;
 
           default:
-            print_string("whatsit?");
+            prints("whatsit?");
             break;
         }
         break;
@@ -2411,7 +2411,7 @@ void show_node_list_(integer p)
           else if (subtype(p) == x_leaders)
             print_char('x');
 
-          print_string("leaders ");
+          prints("leaders ");
 
           print_spec(glue_ptr(p), "");
           {
@@ -2463,13 +2463,13 @@ void show_node_list_(integer p)
           print_scaled(width(p));
 
           if (subtype(p) == acc_kern)
-            print_string(" (for accent)");
+            prints(" (for accent)");
         }
         else
         {
           print_esc("mkern");
           print_scaled(width(p));
-          print_string("mu");
+          prints("mu");
         }
         break;
 
@@ -2478,13 +2478,13 @@ void show_node_list_(integer p)
           print_esc("math");
 
           if (subtype(p) == before)
-            print_string("on");
+            prints("on");
           else
-            print_string("off");
+            prints("off");
 
           if (width(p) != 0)
           {
-            print_string(", surrounded ");
+            prints(", surrounded ");
             print_scaled(width(p));
           }
         }
@@ -2493,7 +2493,7 @@ void show_node_list_(integer p)
       case ligature_node:
         {
           print_font_and_char(lig_char(p));
-          print_string("(ligature ");
+          prints("(ligature ");
 
           if (subtype(p) > 1)
             print_char('|');
@@ -2521,7 +2521,7 @@ void show_node_list_(integer p)
 
           if (replace_count(p) > 0)
           {
-            print_string(" replacing ");
+            prints(" replacing ");
             print_int(replace_count(p));
           }
 
@@ -2695,21 +2695,21 @@ void show_node_list_(integer p)
           print_esc("fraction, thickness ");
 
           if (thickness(p) == 1073741824L)  /* 2^30 */
-            print_string("= default");
+            prints("= default");
           else
             print_scaled(thickness(p));
 
           if ((small_fam(left_delimiter(p)) != 0) || (small_char(left_delimiter(p)) != 0) ||
               (large_fam(left_delimiter(p)) != 0) || (large_char(left_delimiter(p)) != 0))
           {
-            print_string(", left-delimiter ");
+            prints(", left-delimiter ");
             print_delimiter(left_delimiter(p));
           }
 
           if ((small_fam(right_delimiter(p)) != 0) || (small_char(right_delimiter(p)) != 0) ||
               (large_fam(right_delimiter(p)) != 0) || (large_char(right_delimiter(p)) != 0))
           {
-            print_string(", right-delimiter ");
+            prints(", right-delimiter ");
             print_delimiter(right_delimiter(p));
           }
 
@@ -2719,7 +2719,7 @@ void show_node_list_(integer p)
         break;
 
       default:
-        print_string("Unknown node type!");
+        prints("Unknown node type!");
         break;
     }
     p = link(p);
index 4537472..d476767 100644 (file)
@@ -398,38 +398,38 @@ void print_mode_(integer m)
     switch (m / (max_command + 1))
     {
       case 0:
-        print_string("vertical");
+        prints("vertical");
         break;
       case 1:
-        print_string("horizontal");
+        prints("horizontal");
         break;
       case 2:
-        print_string("display math");
+        prints("display math");
         break;
     }
   }
   else
   {
     if (m == 0)
-      print_string("no");
+      prints("no");
     else
     {
       switch ((- (integer) m) / (max_command + 1))
       {
         case 0:
-          print_string("internal vertical");
+          prints("internal vertical");
           break;
         case 1:
-          print_string("restricted horizontal");
+          prints("restricted horizontal");
           break;
         case 2:
-          print_string("math");
+          prints("math");
           break;
       }
     }
   }
 
-  print_string(" mode");
+  prints(" mode");
 }
 /* sec 0216 */
 void push_nest (void) 
@@ -489,16 +489,16 @@ void show_activities (void)
     a = nest[p].aux_field;
     print_nl("### ");
     print_mode(m);
-    print_string(" entered at line ");
+    prints(" entered at line ");
     print_int(abs(nest[p].ml_field));
 
     if (m == hmode)
     {
       if (nest[p].pg_field != 040600000)
       {
-        print_string(" (language");
+        prints(" (language");
         print_int(nest[p].pg_field % 65536L);
-        print_string(":hyphenmin");
+        prints(":hyphenmin");
         print_int(nest[p].pg_field / 4194304L);
         print_char(',');
         print_int((nest[p].pg_field / 65536L) % 64);
@@ -507,7 +507,7 @@ void show_activities (void)
     }
 
     if (nest[p].ml_field < 0)
-      print_string(" (\\output routine)");
+      prints(" (\\output routine)");
 
     if (p == 0)
     {
@@ -516,7 +516,7 @@ void show_activities (void)
         print_nl("### current page:");
         
         if (output_active)
-          print_string(" (held over for next output)");
+          prints(" (held over for next output)");
 
         show_box(link(page_head));
 
@@ -534,7 +534,7 @@ void show_activities (void)
             print_esc("insert");
             t = subtype(r);
             print_int(t);
-            print_string(" adds ");
+            prints(" adds ");
 
             if (count(t) == 1000)
               t = height(r);
@@ -557,9 +557,9 @@ void show_activities (void)
                 }
               while (!(q == broken_ins(r)));
 
-              print_string(", #");
+              prints(", #");
               print_int(t);
-              print_string(" might split");
+              prints(" might split");
             }
             r = link(r);
           }
@@ -579,15 +579,15 @@ void show_activities (void)
           print_nl("prevdepth ");
 
           if  (a.cint <= ignore_depth)
-            print_string("ignored");
+            prints("ignored");
           else
             print_scaled(a.cint);
 
           if (nest[p].pg_field != 0)
           {
-            print_string(", prevgraf ");
+            prints(", prevgraf ");
             print_int(nest[p].pg_field);
-            print_string(" line");
+            prints(" line");
 
             if (nest[p].pg_field != 1)
               print_char('s');
@@ -604,7 +604,7 @@ void show_activities (void)
           {
             if (a.hh.rh > 0)
             {
-              print_string(", current language ");
+              prints(", current language ");
               print_int(a.hh.rh);
             }
           }
@@ -614,7 +614,7 @@ void show_activities (void)
       case 2:
         if (a.cint != 0)
         {
-          print_string("this will be denominator of:");
+          prints("this will be denominator of:");
           show_box(a.cint);
         }
         break;
@@ -847,7 +847,7 @@ void print_param_(integer n)
       break;
 
     default:
-      print_string("[unknown integer parameter!]");
+      prints("[unknown integer parameter!]");
       break;
   }
 }
@@ -964,7 +964,7 @@ void print_length_param_ (integer n)
       break;
 
     default:
-      print_string("[unknown dimen parameter!]");
+      prints("[unknown dimen parameter!]");
       break;
   }
 }
@@ -1481,7 +1481,7 @@ void print_cmd_chr_ (quarterword cmd, halfword chr_code)
         print_esc("span");
       else
       {
-        print_string("alignment tab character ");
+        prints("alignment tab character ");
         print(chr_code);
       }
       break;
@@ -1899,14 +1899,14 @@ void print_cmd_chr_ (quarterword cmd, halfword chr_code)
       break;
 
     case set_font:
-      print_string("select font ");
+      prints("select font ");
       slow_print(font_name[chr_code]);
 
       if (font_size[chr_code] != font_dsize[chr_code])
       {
-        print_string(" at ");
+        prints(" at ");
         print_scaled(font_size[chr_code]);
-        print_string("pt");
+        prints("pt");
       }
       break;
 
@@ -1974,11 +1974,11 @@ void print_cmd_chr_ (quarterword cmd, halfword chr_code)
       break;
 
     case undefined_cs:
-      print_string("undefined");
+      prints("undefined");
       break;
 
     case call:
-      print_string("macro");
+      prints("macro");
       break;
 
     case long_call:
@@ -2026,13 +2026,13 @@ void print_cmd_chr_ (quarterword cmd, halfword chr_code)
           break;
 
         default:
-          print_string("[unknown extension!]");
+          prints("[unknown extension!]");
           break;
       }
       break;
 
     default:
-      print_string("[unknown command code!]");
+      prints("[unknown command code!]");
       break;
   }
 }
@@ -2114,7 +2114,7 @@ void show_eqtb_(halfword n)
       print_char('=');
       
       if (equiv(n) == 0)
-        print_string("void");
+        prints("void");
       else
       {
         depth_threshold = 0;
@@ -2125,7 +2125,7 @@ void show_eqtb_(halfword n)
     else if (n < cat_code_base)
     {
       if (n == cur_font_loc)
-        print_string("current font");
+        prints("current font");
       else if (n < math_font_base + 16)
       {
         print_esc("textfont");
@@ -2209,7 +2209,7 @@ void show_eqtb_(halfword n)
     
     print_char('=');
     print_scaled(eqtb[n].cint);
-    print_string("pt");
+    prints("pt");
   }
   else
     print_char('?');
index 69444c7..91f0697 100644 (file)
@@ -26,7 +26,7 @@ void restore_trace_(halfword p, char * s)
 {
   begin_diagnostic();
   print_char('{');
-  print_string(s);
+  prints(s);
   print_char(' ');
   show_eqtb(p);
   print_char('}');
@@ -124,7 +124,7 @@ void prepare_mag (void)
   {
     print_err("Incompatible magnification (");
     print_int(mag);
-    print_string(");");
+    prints(");");
     print_nl(" the previous value will be retained");
     help2("I can handle only one magnification ratio per job. So I've",
         "reverted to the magnification you used earlier on this run.");
@@ -175,7 +175,7 @@ void show_cur_cmd_chr (void)
   if (mode != shown_mode)
   {
     print_mode(mode);
-    print_string(": ");
+    prints(": ");
     shown_mode = mode;
   }
 
@@ -248,7 +248,7 @@ void show_context (void)
 
               print_char('(');
               print_int(line);
-              print_string(") :");
+              prints(") :");
             }
             else
             {
@@ -373,7 +373,7 @@ void show_context (void)
         }
         else
         {
-          print_string("...");
+          prints("...");
           p = l + first_count - half_error_line + 3;
           n = half_error_line;
         }
@@ -395,7 +395,7 @@ void show_context (void)
           print_char(trick_buf[q % error_line]);
 
         if (m + n > error_line)
-          print_string("...");
+          prints("...");
 
         incr(nn);
       }
@@ -453,7 +453,7 @@ void begin_token_list_ (halfword p, quarterword t)
             break;
         }
 
-        print_string("->");
+        prints("->");
         token_show(p);
         end_diagnostic(false);
       }
@@ -630,24 +630,24 @@ void check_outer_validity (void)
         print_err("Forbidden control sequence found");
       }
 
-      print_string(" while scanning ");
+      prints(" while scanning ");
       p = get_avail();
 
       switch (scanner_status)
       {
         case defining:
-          print_string("definition");
+          prints("definition");
           info(p) = right_brace_token + '}';
           break;
 
         case matching:
-          print_string("use");
+          prints("use");
           info(p) = par_token;
           long_state = outer_call;
           break;
 
         case aligning:
-          print_string("preamble");
+          prints("preamble");
           info(p) = right_brace_token + '}';
           q = p;
           p = get_avail();
@@ -657,13 +657,13 @@ void check_outer_validity (void)
           break;
 
         case absorbing:
-          print_string("text");
+          prints("text");
           info(p) = right_brace_token + '}';
           break;
       }
 
       ins_list(p);
-      print_string(" of ");
+      prints(" of ");
       sprint_cs(warning_index);
       help4("I suspect you have forgotten a `}', causing me",
           "to read past where you wanted me to stop.",
@@ -675,7 +675,7 @@ void check_outer_validity (void)
     {
       print_err("Incomplete ");
       print_cmd_chr(if_test, cur_if);
-      print_string("; all text was ignored after line ");
+      prints("; all text was ignored after line ");
       print_int(skip_line);
       help3("A forbidden control sequence occurred in skipped text.",
           "This kind of error happens when you say `\\if...' and forget",
@@ -814,7 +814,7 @@ continu:
           {
             print_err("Use of ");
             sprint_cs(warning_index);
-            print_string(" doesn't match its definition");
+            prints(" doesn't match its definition");
             help4("If you say, e.g., `\\def\\a1{...}', then you must always",
               "put `1' after `\\a', since control sequence names are",
               "made up of letters only. The macro here has not been",
@@ -865,7 +865,7 @@ done:
               runaway();
               print_err("Paragraph ended before ");
               sprint_cs(warning_index);
-              print_string("was complete");
+              prints("was complete");
               help3("I suspect you've forgotten a `}', causing me to apply this",
                   "control sequence to too much text. How can we recover?",
                   "My plan is to forget the whole thing and hope for the best.");
@@ -899,7 +899,7 @@ done:
                     runaway();
                     print_err("Paragraph ended before ");
                     sprint_cs(warning_index);
-                    print_string(" was complete");
+                    prints(" was complete");
                     help3("I suspect you've forgotten a `}', causing me to apply this",
                         "control sequence to too much text. How can we recover?",
                         "My plan is to forget the whole thing and hope for the best.");
@@ -934,7 +934,7 @@ done1:
             back_input();
             print_err("Argument of ");
             sprint_cs(warning_index);
-            print_string(" has an extra }");
+            prints(" has an extra }");
             help6("I've run across a `}' that doesn't seem to match anything.",
                 "For example, `\\def\\a#1{...}' and `\\a}' would produce",
                 "this error. If you simply proceed now, the `\\par' that",
@@ -986,7 +986,7 @@ found:
             //print_nl(match_chr);
             print_nl(""); print(match_chr);
             print_int(n);
-            print_string("<-");
+            prints("<-");
             show_token_list(pstack[n - 1], 0, 1000);
             end_diagnostic(false);
           }
@@ -1122,7 +1122,7 @@ void expand (void)
         {
           print_err("Missing ");
           print_esc("endcsname");
-          print_string(" inserted");
+          prints(" inserted");
           help2("The control sequence marked <to be read again> should",
               "not appear between \\csname and \\endcsname.");
           back_error();
@@ -1540,9 +1540,9 @@ void find_font_dimen_(boolean writing)
   {
     print_err("Font ");
     print_esc(""); print(font_id_text(f));
-    print_string(" has only ");
+    prints(" has only ");
     print_int(font_params[f]);
-    print_string(" fontdimen parameters");
+    prints(" fontdimen parameters");
     help2("To increase the number of font parameters, you must",
       "use \\fontdimen immediately after the \\font is loaded.");
     error();
@@ -1821,7 +1821,7 @@ void scan_something_internal_(small_number level, boolean negative)
       {
         print_err("You can't use `");
         print_cmd_chr(cur_cmd, cur_chr);
-        print_string("' after ");
+        prints("' after ");
         print_esc("the");
         help1("I'm forgetting what you said and using zero instead.");
         error();
index 41faf13..3ba22ad 100644 (file)
@@ -296,7 +296,7 @@ done1:
         if (cur_order == filll)
         {
           print_err("Illegal unit of measure (");
-          print_string("replaced by filll)");
+          prints("replaced by filll)");
           help1("I dddon't go any higher than filll.");
           error();
         }
@@ -373,7 +373,7 @@ not_found:
     else
     {
       print_err("Illegal unit of measure (");
-      print_string("mu inserted)");
+      prints("mu inserted)");
       help4("The unit of measurement in math glue must be mu.",
           "To recover gracefully from this error, it's best to",
           "delete the erroneous units; e.g., type `2' to delete",
@@ -422,7 +422,7 @@ not_found:
   else
   {
     print_err("Illegal unit of measure (");
-    print_string("pt inserted)");
+    prints("pt inserted)");
     help6("Dimensions can be in units of em, ex, in, pt, pc,",
       "cm, mm, dd, cc, bp, or sp; but yours is a new one!",
       "I'll assume that you meant to say pt, for printer's points.",
@@ -657,7 +657,7 @@ halfword the_toks (void)
       case dimen_val:
         {
           print_scaled(cur_val);
-          print_string("pt");
+          prints("pt");
         }
         break;
       case glue_val:
@@ -750,9 +750,9 @@ void conv_toks (void)
 
       if (font_size[cur_val] != font_dsize[cur_val])
       {
-        print_string(" at ");
+        prints(" at ");
         print_scaled(font_size[cur_val]);
-        print_string("pt");
+        prints("pt");
       }
       break;
 
@@ -1333,7 +1333,7 @@ void conditional (void)
         if (tracing_commands > 1)
         {
           begin_diagnostic();
-          print_string("{case ");
+          prints("{case ");
           print_int(n); 
           print_char('}');
           end_diagnostic(false);
@@ -1370,9 +1370,9 @@ void conditional (void)
     begin_diagnostic();
 
     if (b)
-      print_string("{true}");
+      prints("{true}");
     else
-      print_string("{false}");
+      prints("{false}");
 
     end_diagnostic(false);
   }
@@ -1732,13 +1732,13 @@ void prompt_file_name_(char * s, str_number e)
     print_err("I can't write on file `");
 
   print_file_name(cur_name, cur_area, cur_ext);
-  print_string("'.");
+  prints("'.");
 
   if (e == 785)    /* .tex */
     show_context();
 
   print_nl("Please type another ");
-  print_string(s); 
+  prints(s); 
 
   if (interaction < 2)
   {
@@ -1840,7 +1840,7 @@ void open_log_file (void)
     if (format_ident > 0)
       slow_print(format_ident);
 
-    print_string("  ");
+    prints("  ");
 
     if (civilize_flag)
       print_int(year);
@@ -2114,17 +2114,17 @@ internal_font_number read_font_info_(halfword u, str_number nom, str_number aire
 
     if (s >= 0)
     {
-      print_string(" at ");
+      prints(" at ");
       print_scaled(s);
-      print_string("pt");
+      prints("pt");
     }
     else if (s != -1000)
     {
-      print_string(" scaled ");
+      prints(" scaled ");
       print_int(- (integer) s);
     }
 
-    print_string(" not loaded: Not enough room left");
+    prints(" not loaded: Not enough room left");
     help4("I'm afraid I won't be able to make use of this font,",
         "because my memory for character-size data is too small.",
         "If you're really stuck, ask a wizard to enlarge me.",
@@ -2499,20 +2499,20 @@ bad_tfm:
 
   if (s >= 0)
   {
-    print_string(" at ");
+    prints(" at ");
     print_scaled(s);
-    print_string("pt");
+    prints("pt");
   }
   else if (s != -1000)
   {
-    print_string("scaled");
+    prints("scaled");
     print_int(- (integer) s);
   } 
 
   if (file_opened)
-    print_string(" not loadable: Bad metric (TFM) file");
+    prints(" not loadable: Bad metric (TFM) file");
   else
-    print_string(" not loadable: Metric (TFM) file not found");
+    prints(" not loadable: Metric (TFM) file not found");
 
   help5("I wasn't able to read the size data for this font,",
       "so I will ignore the font specification.",
index 8d475ce..cede894 100644 (file)
@@ -30,7 +30,7 @@ void char_warning_(internal_font_number f, eight_bits c)
     if (show_missing) /* add ! before 94/June/10 */
     {
       print_nl("! ");
-      print_string("Missing character: there is no ");
+      prints("Missing character: there is no ");
     }
     else
       print_nl("Missing character: there is no ");
@@ -58,7 +58,7 @@ void char_warning_(internal_font_number f, eight_bits c)
       print_char(')');
     }
 
-    print_string(" in font ");
+    prints(" in font ");
     slow_print(font_name[f]);
     print_char('!');
 
@@ -1104,7 +1104,7 @@ void dvi_ship_out_(halfword p)
   {
     print_nl("");
     print_ln();
-    print_string("Completed box being shipped out");
+    prints("Completed box being shipped out");
   }
 
   if (term_offset > max_print_line - 9)
@@ -1178,7 +1178,7 @@ void dvi_ship_out_(halfword p)
     dvi_four(mag);
     old_setting = selector;
     selector = new_string;
-    print_string(" TeX output ");
+    prints(" TeX output ");
     print_int(year);
     print_char('.');
     print_two(month);
@@ -1239,11 +1239,11 @@ done:;
 #ifdef STAT
   if (tracing_stats > 1)
   {
-    print_string(" after: ");
+    prints(" after: ");
     print_int(var_used);
     print_char('&');
     print_int(dyn_used);
-    print_string("; still utouched: ");
+    prints("; still utouched: ");
     print_int(hi_mem_min - lo_mem_max - 1);
     print_ln();
   }
@@ -1504,7 +1504,7 @@ reswitch:
           else
             print_nl("Loose");
 
-          print_string(" \\hbox (badness ");
+          prints(" \\hbox (badness ");
           print_int(last_badness);
 
           if (last_badness > 100) /* Y&Y TeX */
@@ -1556,7 +1556,7 @@ reswitch:
           print_ln();
           print_nl("Overfull \\hbox (");
           print_scaled(- (integer) x - total_shrink[normal]);
-          print_string("pt too wide");
+          prints("pt too wide");
 
           overfull_hbox++;
 
@@ -1581,21 +1581,21 @@ reswitch:
 
 common_ending:
   if (output_active)
-    print_string(") has occurred while \\output is active");
+    prints(") has occurred while \\output is active");
   else
   {
     if (pack_begin_line != 0)
     {
       if (pack_begin_line > 0)
-        print_string(") in paragraph at lines ");
+        prints(") in paragraph at lines ");
       else
-        print_string(") in alignment at lines ");
+        prints(") in alignment at lines ");
 
       print_int(abs(pack_begin_line));
-      print_string("--");
+      prints("--");
     }
     else
-      print_string(") detected at line ");
+      prints(") detected at line ");
 
     print_int(line);
   }
@@ -1762,7 +1762,7 @@ halfword vpackage_(halfword p, scaled h, small_number m, scaled l)
           else
             print_nl("Loose");
 
-          print_string(" \\vbox (badness ");
+          prints(" \\vbox (badness ");
           print_int(last_badness);
 
           if (last_badness > 100)
@@ -1805,7 +1805,7 @@ halfword vpackage_(halfword p, scaled h, small_number m, scaled l)
         print_ln();
         print_nl("Overfull \\vbox (");
         print_scaled(- (integer) x - total_shrink[0]);
-        print_string("pt too high");
+        prints("pt too high");
 
         overfull_vbox++;    /* 1996/Feb/9 */
 
@@ -1829,17 +1829,17 @@ halfword vpackage_(halfword p, scaled h, small_number m, scaled l)
 
 common_ending:
   if (output_active)
-    print_string(") has occurred while \\output is active");
+    prints(") has occurred while \\output is active");
   else
   {
     if (pack_begin_line != 0)
     {
-      print_string(") in alignment at lines ");
+      prints(") in alignment at lines ");
       print_int(abs(pack_begin_line));
-      print_string("--");
+      prints("--");
     }
     else
-      print_string(") detected at line ");
+      prints(") detected at line ");
 
     print_int(line);
     print_ln();
index b464432..e4c2c33 100644 (file)
@@ -212,7 +212,7 @@ void fetch_(halfword a)
     print_size(cur_size);
     print_char(' ');
     print_int(fam(a));
-    print_string(" is undefined (character ");
+    prints(" is undefined (character ");
     print(cur_c);
     print_char(')');
     help4("Somewhere in the math formula just ended, you used the",
@@ -1302,7 +1302,7 @@ void init_align (void)
   {
     print_err("Improper ");
     print_esc("halign");
-    print_string(" inside $$'s");
+    prints(" inside $$'s");
     help3("Displays can use special alignments (like \\eqalignno)",
         "only if nothing but the alignment itself is between $$'s.",
         "So I've deleted the formulas that preceded this alignment.");
index ba8cbe2..0dc07e2 100644 (file)
@@ -310,7 +310,7 @@ done:;
               {
                 print_nl("@@");
                 print_int(serial(passive));
-                print_string(": line ");
+                prints(": line ");
                 print_int(line_number(q) - 1);
                 print_char('.');
                 print_int(fit_class);
@@ -318,9 +318,9 @@ done:;
                 if (break_type == hyphenated)
                   print_char('-');
 
-                print_string(" t=");
+                prints(" t=");
                 print_int(total_demerits(q));
-                print_string(" -> @@");
+                prints(" -> @@");
 
                 if (prev_break(passive) == 0)
                   print_char('0');
@@ -497,23 +497,23 @@ done1:;
             print_esc("math");
         }
 
-        print_string(" via @@");
+        prints(" via @@");
 
         if (break_node(r) == 0)
           print_char('0');
         else
           print_int(serial(break_node(r)));
 
-        print_string(" b=");
+        prints(" b=");
 
         if (b > inf_bad)
           print_char('*');
         else
           print_int(b);
 
-        print_string(" p=");
+        prints(" p=");
         print_int(pi);
-        print_string(" d=");
+        prints(" d=");
 
         if (artificial_demerits)
           print_char('*');
@@ -1554,7 +1554,7 @@ not_found:;
         {
           print_err("Improper ");
           print_esc("hyphenation");
-          print_string(" will be flushed");
+          prints(" will be flushed");
           help2("Hyphenation exceptions must contain only letters",
               "and hyphens. But continue; I'll forgive and forget.");
           error();
@@ -1802,7 +1802,7 @@ halfword vsplit_(eight_bits n, scaled h)
   {
     print_err("");
     print_esc("vsplit");
-    print_string(" needs a ");
+    prints(" needs a ");
     print_esc("vbox");
     help2("The box you are trying to split is an \\hbox.",
         "I can't split such a box, so I'll leave it alone.");
@@ -1857,35 +1857,35 @@ void print_totals (void)
 
   if (page_so_far[2] != 0)
   {
-    print_string(" plus ");
+    prints(" plus ");
     print_scaled(page_so_far[2]);
-    print_string("");
+    prints("");
   }
 
   if (page_so_far[3] != 0)
   {
-    print_string(" plus ");
+    prints(" plus ");
     print_scaled(page_so_far[3]);
-    print_string("fil");
+    prints("fil");
   }
 
   if (page_so_far[4] != 0)
   {
-    print_string(" plus ");
+    prints(" plus ");
     print_scaled(page_so_far[4]);
-    print_string("fill");
+    prints("fill");
   }
 
   if (page_so_far[5] != 0)
   {
-    print_string(" plus ");
+    prints(" plus ");
     print_scaled(page_so_far[5]);
-    print_string("filll");
+    prints("filll");
   }
 
   if (page_so_far[6] != 0)
   {
-    print_string(" minus ");
+    prints(" minus ");
     print_scaled(page_so_far[6]);
   }
 }
@@ -1905,7 +1905,7 @@ void freeze_page_specs_(small_number s)
     begin_diagnostic();
     print_nl("%% goal height=");
     print_scaled(page_goal);
-    print_string(", max depth=");
+    prints(", max depth=");
     print_scaled(page_max_depth);
     end_diagnostic(false);
   }
@@ -1977,7 +1977,7 @@ void fire_up_(halfword c)
   {
     print_err("");
     print_esc("box");
-    print_string("255 is not void");
+    prints("255 is not void");
     help2("You shouldn't use \\box255 except in \\output routines.",
         "Proceed, and I'll discard its present contents.");
     box_error(255);
@@ -2171,7 +2171,7 @@ void fire_up_(halfword c)
     {
       print_err("Output loop---");
       print_int(dead_cycles);
-      print_string(" consecutive dead cycles");
+      prints(" consecutive dead cycles");
       help3("I've concluded that your \\output is awry; it never does",
           "\\ship_out, so I'm shipping \box255 out myself. Next ",
           "increase \\maxdeadcycles if you want me to be more patient!");
index ffda83f..809de61 100644 (file)
@@ -218,11 +218,11 @@ continu:
                   begin_diagnostic();
                   print_nl("% split");
                   print_int(n);
-                  print_string(" to");
+                  prints(" to");
                   print_scaled(w);
                   print_char(',');
                   print_scaled(best_height_plus_depth);
-                  print_string(" p=");
+                  prints(" p=");
 
                   if (q == 0)
                     print_int(eject_penalty);
@@ -290,20 +290,20 @@ continu:
         {
           begin_diagnostic();
           print_nl("%");
-          print_string(" t=");
+          prints(" t=");
           print_totals();
-          print_string(" g=");
+          prints(" g=");
           print_scaled(page_goal);
-          print_string(" b=");
+          prints(" b=");
 
           if (b == awful_bad) /* 2^30 - 1 */
             print_char('*');
           else
             print_int(b);
 
-          print_string(" p=");
+          prints(" p=");
           print_int(pi);
-          print_string(" c=");
+          prints(" c=");
 
           if (c == awful_bad) /* 2^30 - 1 */
             print_char('*');
@@ -452,7 +452,7 @@ void you_cant (void)
 {
   print_err("You can't use `");
   print_cmd_chr(cur_cmd, cur_chr);
-  print_string("' in ");
+  prints("' in ");
   print_mode(mode);
 }
 /* sec 1050 */
@@ -604,7 +604,7 @@ void off_save (void)
         break;
     }
 
-    print_string(" inserted");
+    prints(" inserted");
     ins_list(link(temp_head));
     help5("I've inserted something that you may have forgotten.",
         "(See the <inserted text> above.)",
@@ -981,7 +981,7 @@ void head_for_vmode (void)
     {
       print_err("You can't use `");
       print_esc("hrule");
-      print_string("' here except with leaders");
+      prints("' here except with leaders");
       help2("To put a horizontal rule in an hbox or an alignment,",
           "you should use \\leaders or \\hrulefill (see The TeXbook).");
       error();
@@ -1842,7 +1842,7 @@ void math_ac (void)
   {
     print_err("Please use ");
     print_esc("mathaccent");
-    print_string(" for accents in math mode");
+    prints(" for accents in math mode");
     help2("I'm changing \\accent to \\mathaccent here; wish me luck.",
       "(Accents are not the same in formulas as they are in text.)");
     error();
index 0a07a6c..f499c39 100644 (file)
@@ -478,7 +478,7 @@ void do_register_command_ (small_number a)
       {
         print_err("You can't use `");
         print_cmd_chr(cur_cmd, cur_chr);
-        print_string("' after ");
+        prints("' after ");
         print_cmd_chr(q, 0);
         help1("I'm forgetting what you said and not changing anything.");
         error();
@@ -742,7 +742,7 @@ void new_font_(small_number a)
   {
     old_setting = selector;
     selector = new_string;
-    print_string("FONT");
+    prints("FONT");
     print(u - active_base);
     selector = old_setting;
     str_room(1);
@@ -764,7 +764,7 @@ void new_font_(small_number a)
     {
       print_err("Improper `at' size (");
       print_scaled(s);
-      print_string("pt), replaced by 10pt");
+      prints("pt), replaced by 10pt");
       help2("I can only handle fonts at positive sizes that are",
         "less than 2048pt, so I've changed what you said to 10pt.");
       error();
@@ -871,14 +871,6 @@ common_ending:
 
   equiv(u) = f;
   eqtb[font_id_base + f] = eqtb[u];
-
-#ifdef SHORTHASH
-  if (t > 65535L)
-  {
-    sprintf(log_line, "ERROR: %s too large %d\n",  "hash_used", t);
-    show_line(log_line, 1);
-  }
-#endif
   font_id_text(f) = t;
 }
 /* sec 1265 */
@@ -1062,7 +1054,7 @@ void show_whatever (void)
         print_char('=');
 
         if (box(cur_val) == 0)
-          print_string("void");
+          prints("void");
         else
           show_box(box(cur_val));
       }
@@ -1110,7 +1102,7 @@ void show_whatever (void)
     if (tracing_online <= 0)
     {
       selector = term_only;
-      print_string(" (see the transcript file)");
+      prints(" (see the transcript file)");
       selector = term_and_log;
     }
 
@@ -1438,7 +1430,7 @@ void handle_right_brace (void)
         cur_tok = cs_token_flag + frozen_cr;
         print_err("Missing ");
         print_esc("cr");
-        print_string("inserted");
+        prints("inserted");
         help1("I'm guessing that you meant to end an alignment here.");
         ins_error();
       }
index a6f9abe..0307663 100644 (file)
@@ -362,20 +362,20 @@ void close_files_and_terminate (void)
           print_nl("Output written on ");
 
           if (full_file_name_flag && dvi_file_name != NULL)
-            print_string(dvi_file_name);
+            prints(dvi_file_name);
           else
             slow_print(output_file_name);
 
-          print_string(" (");
+          prints(" (");
           print_int(total_pages);
-          print_string(" page");
+          prints(" page");
 
           if (total_pages != 1)
             print_char('s');
 
-          print_string(", ");
+          prints(", ");
           print_int(dvi_offset + dvi_ptr);
-          print_string(" bytes).");
+          prints(" bytes).");
           b_close(dvi_file);
         }
       }
@@ -393,7 +393,7 @@ void close_files_and_terminate (void)
       print_nl("Transcript written on ");
 
       if (full_file_name_flag && log_file_name != NULL)
-        print_string(log_file_name);
+        prints(log_file_name);
       else
         slow_print(texmf_log_name);
 
index 6601220..8999fea 100644 (file)
@@ -58,7 +58,7 @@ inline void write_dvi(size_t a, size_t b)
 }
 inline void prompt_input(const char * s)
 {
-  print_string(s);
+  prints(s);
   term_input();
 }
 inline void set_cur_lang(void)
@@ -118,7 +118,7 @@ inline void print_err (const char * s)
   if (interaction == error_stop_mode);
     print_nl("! ");
 
-  print_string(s);
+  prints(s);
 }
 /* sec 0079 */
 inline void tex_help (unsigned int n, ...)
index 1d2b53b..b363306 100644 (file)
@@ -738,7 +738,7 @@ while (0)
 #define chr_cmd(s)  \
 do                  \
 {                   \
-  print_string(s);  \
+  prints(s);        \
   print(chr_code);  \
 }                   \
 while (0)