[geany/geany] bef066: objc: fix property parser won't exit bug
solawing
git-noreply at xxxxx
Mon Mar 7 11:50:52 UTC 2016
Branch: refs/heads/master
Author: solawing <316786359 at qq.com>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Mon, 07 Mar 2016 11:50:52 UTC
Commit: bef06691b5545e9d51169e994e66ebb45d1077bc
https://github.com/geany/geany/commit/bef06691b5545e9d51169e994e66ebb45d1077bc
Log Message:
-----------
objc: fix property parser won't exit bug
Based on 21e74e6a019975045a7975bc611ae63f0917f976 from universal-ctags,
and update the tests accordingly, thanks to @JX7P.
Closes #940.
X-Universal-CTags-Commit-ID: 21e74e6a019975045a7975bc611ae63f0917f976
Modified Paths:
--------------
tagmanager/ctags/objc.c
tests/ctags/objectivec_property.mm.tags
Modified: tagmanager/ctags/objc.c
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -706,6 +706,7 @@ static void parseProperty (vString * const ident, objcToken what)
case Tok_semi:
addTag (tempName, K_PROPERTY);
vStringClear (tempName);
+ toDoNext = &parseMethods;
break;
default:
Modified: tests/ctags/objectivec_property.mm.tags
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -1,4 +1,5 @@
# format=tagmanager
Person�32�0
+initWithAge:�128�Person�0
m_age�8�Person�0
m_name�8�Person�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