[geany/geany] 48f7ef: Ignore D angle brackets e.g. Foo!(x < 2)
Nick Treleaven
git-noreply at geany.org
Tue Nov 27 13:35:50 UTC 2012
Branch: refs/heads/master
Author: Nick Treleaven <nick.treleaven at btinternet.com>
Committer: Nick Treleaven <nick.treleaven at btinternet.com>
Date: Tue, 27 Nov 2012 13:35:50 UTC
Commit: 48f7efaa68c295d2da6f1e1616312e2dcdd24df4
https://github.com/geany/geany/commit/48f7efaa68c295d2da6f1e1616312e2dcdd24df4
Log Message:
-----------
Ignore D angle brackets e.g. Foo!(x < 2)
Modified Paths:
--------------
tagmanager/ctags/c.c
Modified: tagmanager/ctags/c.c
2 files changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -1620,6 +1620,8 @@ static void skipToMatch (const char *const pair)
const unsigned long inputLineNumber = getInputLineNumber ();
int matchLevel = 1;
int c = '\0';
+ if (isLanguage(Lang_d) && pair[0] == '<')
+ return; /* ignore e.g. Foo!(x < 2) */
while (matchLevel > 0 && (c = cppGetc ()) != EOF)
{
if (c == begin)
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list