X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2e768e3cc0ce768373d3320eca4cdd08b8cf646a..26c2b1ef1709cd7b34fe3e78995768a369e0f116:/uip/scansbr.c?ds=sidebyside diff --git a/uip/scansbr.c b/uip/scansbr.c index c038622e..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) { @@ -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);