I have just committed revision 3907 for osis2mod, adding location information to messages so that one can more readily tie reported events to the OSIS input file.
I have updated the osis2mod wiki entry to document it more fully: https://wiki.crosswire.org/Osis2mod#Messages MODTOOLS-25 give location in input for messages. Created identifyMsg which creates a standardized message for reporting and used it for all messages to standard out. The message is of the form: type(kind)[linePos,charPos] osisID=osisID: message Where: type The message type (e.g., "ERROR", "WARNING", "INFO"). kind The message category or kind (e.g., "REF", "PARSE"). linePos The position in the file of the last line that was read. charPos The position in the line of the last character that was read. osisID (Optional) The current OSIS ID to include. May be nullptr or empty. message event description with details * If linePos is 0, the position ([linePos,charPos]) is omitted. * If osisID is nullptr or empty, the osisID part is omitted. * The returned string always ends with a colon and a trailing space (": “). In Him, DM
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page