wc-duck / datalibrary

Open Source Data Library for data serialization.
Other
42 stars 8 forks source link

DL Parse Errors give wrong line number #104

Closed lundmark closed 5 years ago

lundmark commented 5 years ago

When giving out a message string of an error because of parse faiure (such as DL_ERROR_TXT_INVALID_ENUM_VALUE), the line that is reported is off by one. It seems like DL is counting the first line in the file as 0.