[geany/geany] d7e285: Fix parsing colons in D (#3577788)

Nick Treleaven git-noreply at geany.org
Thu Oct 25 12:54:52 UTC 2012


Branch:      refs/heads/master
Author:      Nick Treleaven <nick.treleaven at btinternet.com>
Committer:   Nick Treleaven <nick.treleaven at btinternet.com>
Date:        Thu, 25 Oct 2012 12:54:52
Commit:      d7e285d00e2b7d943f32d01e7d3308dbc86620e7
             https://github.com/geany/geany/commit/d7e285d00e2b7d943f32d01e7d3308dbc86620e7

Log Message:
-----------
Fix parsing colons in D (#3577788)


Modified Paths:
--------------
    tagmanager/ctags/c.c

Modified: tagmanager/ctags/c.c
7 files changed, 3 insertions(+), 4 deletions(-)
===================================================================
@@ -2615,11 +2615,10 @@ static void processColon (statementInfo *const st)
 	else
 	{
 		cppUngetc (c);
-		if ((((isLanguage (Lang_cpp) &&
+		if (((isLanguage (Lang_cpp) &&
 				(st->declaration == DECL_CLASS || st->declaration == DECL_STRUCT)) ||
-		    isLanguage (Lang_csharp) || isLanguage (Lang_vala))  &&
-			inheritingDeclaration (st->declaration)) ||
-			isLanguage (Lang_d))
+			isLanguage (Lang_csharp) || isLanguage (Lang_d) || isLanguage (Lang_vala)) &&
+			inheritingDeclaration (st->declaration))
 		{
 			readParents (st, ':');
 		}



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).


More information about the Commits mailing list