trunk/make.c:

trunk/Test/bug2959889.mak: bug fix and test case for bug 2959889. (Patch and report by Martin Dorey; originally at http://bugs.debian.org/571652.)


git-svn-id: svn://svn.code.sf.net/p/ctags/code/trunk@751 c5d04d22-be80-434c-894e-aa346cc9e8e8
This commit is contained in:
elliotth 2010-02-27 17:41:57 +00:00
parent 6f67904a81
commit 1f8ef9e4ee
2 changed files with 2 additions and 1 deletions

1
Test/bug2959889.mak Normal file
View File

@ -0,0 +1 @@
{

2
make.c
View File

@ -100,7 +100,7 @@ static void skipToMatch (const char *const pair)
++matchLevel;
else if (c == end)
--matchLevel;
else if (c == '\n')
else if (c == '\n' || c == EOF)
break;
}
if (c == EOF)