[geany/geany] 9bc585: make: fix a typo in parenthesis handling
Masatake YAMATO
git-noreply at xxxxx
Tue May 31 13:35:49 UTC 2016
Branch: refs/heads/master
Author: Masatake YAMATO <yamato at redhat.com>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Tue, 31 May 2016 13:35:49 UTC
Commit: 9bc5857f899016efab507419e538fe67c0118c09
https://github.com/geany/geany/commit/9bc5857f899016efab507419e538fe67c0118c09
Log Message:
-----------
make: fix a typo in parenthesis handling
Signed-off-by: Masatake YAMATO <yamato at redhat.com>
Signed-off-by: Colomban Wendling <ban at herbesfolles.org>
X-Universal-CTags-Commit-ID: 39c1236cc1a40aac6b93c60537d30489912bbbb2
X-Universal-CTags-Issue: universal-ctags/ctags#944
Modified Paths:
--------------
tagmanager/ctags/make.c
tests/ctags/Makefile.am
tests/ctags/make-parentheses.mak
tests/ctags/make-parentheses.mak.tags
Modified: tagmanager/ctags/make.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -110,7 +110,7 @@ static void readIdentifier (const int first, vString *const id)
vStringClear (id);
while (isIdentifier (c) || (depth > 0 && c != EOF && c != '\n'))
{
- if (c == '(' || c == '}')
+ if (c == '(' || c == '{')
depth++;
else if (depth > 0 && (c == ')' || c == '}'))
depth--;
Modified: tests/ctags/Makefile.am
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -211,6 +211,7 @@ test_sources = \
make-comment-in-rule.mak \
make-gnumake-pattern-rules.mak \
make-multi-target.mak \
+ make-parentheses.mak \
make-target-with-parentheses.mak \
make-variable-on-cmdline.mak \
masm.asm \
Modified: tests/ctags/make-parentheses.mak
6 lines changed, 6 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,6 @@
+A=X.c
+B=Y.c
+$(A)-$(A:.c=.o):
+ echo $@
+${B}-${B:.c=.o}:
+ echo $@
Modified: tests/ctags/make-parentheses.mak.tags
5 lines changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,5 @@
+# format=tagmanager
+$(A)-$(A:.c=.o)�16�0
+${B}-${B:.c=.o}�16�0
+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