Update of bug #62142 (project groff):
Status: None => In Progress
Assigned to: None => gbranden
_______________________________________________________
Follow-up Comment #1:
The fix is simple. (I chopped out comment-related hunks.)
diff --git a/src/preproc/refer/refer.cpp b/src/preproc/refer/refer.cpp
index 3fb2175fb..e93064f73 100644
--- a/src/preproc/refer/refer.cpp
+++ b/src/preproc/refer/refer.cpp
@@ -1115,6 +1114,7 @@ void do_bib(const char *filename)
}
current_filename = filename;
}
+ current_lineno = 1;
enum {
START, MIDDLE, BODY, BODY_START, BODY_BLANK, BODY_DOT
} state = START;
Naturally I have a regression test as well...our first one ever for refer(1).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62142>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/