[geany/geany] 39f359: make: Add support for GNU make pattern rules
Colomban Wendling
git-noreply at xxxxx
Mon Apr 20 17:59:06 UTC 2015
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Mon, 20 Apr 2015 17:59:06 UTC
Commit: 39f359b09aeeaeca18be4da06ec89bd9d18ea806
https://github.com/geany/geany/commit/39f359b09aeeaeca18be4da06ec89bd9d18ea806
Log Message:
-----------
make: Add support for GNU make pattern rules
Modified Paths:
--------------
tagmanager/ctags/make.c
tests/ctags/Makefile.am
tests/ctags/make-gnumake-pattern-rules.mak
tests/ctags/make-gnumake-pattern-rules.mak.tags
Modified: tagmanager/ctags/make.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -68,7 +68,7 @@ static int skipToNonWhite (int c)
static boolean isIdentifier (int c)
{
- return (boolean)(c != '\0' && (isalnum (c) || strchr (".-_/$(){}", c) != NULL));
+ return (boolean)(c != '\0' && (isalnum (c) || strchr (".-_/$(){}%", c) != NULL));
}
static boolean isSpecialTarget (vString *const name)
Modified: tests/ctags/Makefile.am
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -201,6 +201,7 @@ test_sources = \
local.c \
macros.c \
make-comment-in-rule.mak \
+ make-gnumake-pattern-rules.mak \
make-multi-target.mak \
make-target-with-parentheses.mak \
make-variable-on-cmdline.mak \
Modified: tests/ctags/make-gnumake-pattern-rules.mak
8 lines changed, 8 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,8 @@
+%.o: %.c
+ touch $@
+
+%.p %.q: %.d
+ touch $@
+
+%a b%:
+ touch $@
Modified: tests/ctags/make-gnumake-pattern-rules.mak.tags
6 lines changed, 6 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,6 @@
+# format=tagmanager
+%.o�16�0
+%.p�16�0
+%.q�16�0
+%a�16�0
+b%�16�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