[geany/geany] 9c829a: make: Fix parsing of empty continuation lines

Colomban Wendling git-noreply at xxxxx
Mon Mar 16 13:55:50 UTC 2015


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Mon, 16 Mar 2015 13:55:50 UTC
Commit:      9c829aeb3c917deb028303bd51bc39a9e8fa758e
             https://github.com/geany/geany/commit/9c829aeb3c917deb028303bd51bc39a9e8fa758e

Log Message:
-----------
make: Fix parsing of empty continuation lines


Modified Paths:
--------------
    tagmanager/ctags/make.c
    tests/ctags/Makefile.am
    tests/ctags/continuation.mak
    tests/ctags/continuation.mak.tags

Modified: tagmanager/ctags/make.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -44,7 +44,7 @@ static int nextChar (void)
 	{
 		c = fileGetc ();
 		if (c == '\n')
-			c = fileGetc ();
+			c = nextChar ();
 	}
 	return c;
 }


Modified: tests/ctags/Makefile.am
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -114,6 +114,7 @@ test_sources = \
 	common.f						\
 	complex-return.js				\
 	continuation.f90				\
+	continuation.mak				\
 	countall.sql					\
 	cpp_destructor.cpp				\
 	css-at-rules.css				\


Modified: tests/ctags/continuation.mak
11 lines changed, 11 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,11 @@
+
+A = \
+a=b \
+ \
+b=c \
+	\
+c=d \
+\
+d=e \
+
+B = dummy


Modified: tests/ctags/continuation.mak.tags
3 lines changed, 3 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,3 @@
+# format=tagmanager
+A�65536�0
+B�65536�0



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list