mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Fix line numbering in error output.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4604 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b53309aaa3
commit
8d2d4c5ea7
1 changed files with 2 additions and 0 deletions
|
@ -223,6 +223,8 @@ static inline id parseQuotedString(pldata* pld)
|
||||||
{
|
{
|
||||||
unichar c = (unichar)pld->ptr[pld->pos];
|
unichar c = (unichar)pld->ptr[pld->pos];
|
||||||
|
|
||||||
|
if (c == '\n')
|
||||||
|
pld->lin++;
|
||||||
if (escaped)
|
if (escaped)
|
||||||
{
|
{
|
||||||
if (escaped == 1 && c == '0')
|
if (escaped == 1 && c == '0')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue