X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/61e09274bb3338efbd9c50f797751853c99dba3b..26c2b1ef1709cd7b34fe3e78995768a369e0f116:/uip/scansbr.c diff --git a/uip/scansbr.c b/uip/scansbr.c index 0f6cd7e0..abcb4962 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -277,10 +277,12 @@ body:; case LENERR: case FMTERR: - fprintf (stderr, - innum ? "??Format error (message %d) in " - : "??Format error in ", - outnum ? outnum : innum); + if (innum) + fprintf (stderr, "??Format error (message %d) in ", + outnum ? outnum : innum); + else + fprintf (stderr, "??Format error in "); + fprintf (stderr, "component %d\n", compnum); if (outnum) { @@ -344,7 +346,7 @@ finished: } } - fmt_scan (fmt, scanl, scanl_size, slwidth, dat); + fmt_scan (fmt, scanl, scanl_size, slwidth, dat, NULL); if (bodycomp) bodycomp->c_text = saved_c_text; @@ -389,11 +391,6 @@ scan_detect_mbox_style (FILE *f) { m_unknown (&gstate, f); } -void -scan_eom_action (int (*action)()) { - m_eomsbr (gstate, action); -} - void scan_reset_m_getfld_state () { m_getfld_state_reset (&gstate);