[geany/geany] f0f3fc: Allow '!' char in D parameter lists
Nick Treleaven
git-noreply at xxxxx
Mon Jul 9 12:31:05 UTC 2012
Branch: refs/heads/master
Author: Nick Treleaven <nick.treleaven at btinternet.com>
Committer: Nick Treleaven <nick.treleaven at btinternet.com>
Date: Mon, 09 Jul 2012 12:31:05
Commit: f0f3fc83ad8a9ae54896422fa9668b31f1e3f6bf
https://github.com/geany/geany/commit/f0f3fc83ad8a9ae54896422fa9668b31f1e3f6bf
Log Message:
-----------
Allow '!' char in D parameter lists
Modified Paths:
--------------
tagmanager/ctags/c.c
Modified: tagmanager/ctags/c.c
6 files changed, 6 insertions(+), 0 deletions(-)
===================================================================
@@ -2363,6 +2363,12 @@ static int parseParens (statementInfo *const st, parenInfo *const info)
{
int c = skipToNonWhite ();
+ if (isLanguage(Lang_d) && c == '!')
+ { /* template instantiation */
+ info->isNameCandidate = FALSE;
+ info->isKnrParamList = FALSE;
+ }
+ else
switch (c)
{
case '&':
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list