rticommunity / rticonnextdds-logparser

RTI Log Parser for Connext DDS is a command-line tool that processes and enhances Connext DDS log messages making it easier to debug applications.
https://www.rti.com/developers/rti-labs/easy-debugging-with-log-parser
Apache License 2.0
13 stars 6 forks source link

Fix parser stopped to read input after empty line #17

Closed pleonex closed 7 years ago

pleonex commented 7 years ago

If the parser found an empty line it stopped reading more input. The issue was that empty lines and EOF were similar. As an empty line contains the new line characters (\n, \r\n), we are using them to distinguish these two situations. The fix applies to the InputFileDevice and InputConsoleDevice.

Fixes #16