Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix parsing colons in D (#3577788)

  • Loading branch information...
commit d7e285d00e2b7d943f32d01e7d3308dbc86620e7 1 parent 00c2cc2
Nick Treleaven authored October 25, 2012

Showing 1 changed file with 3 additions and 4 deletions. Show diff stats Hide diff stats

  1. 7  tagmanager/ctags/c.c
7  tagmanager/ctags/c.c
@@ -2615,11 +2615,10 @@ static void processColon (statementInfo *const st)
2615 2615
 	else
2616 2616
 	{
2617 2617
 		cppUngetc (c);
2618  
-		if ((((isLanguage (Lang_cpp) &&
  2618
+		if (((isLanguage (Lang_cpp) &&
2619 2619
 				(st->declaration == DECL_CLASS || st->declaration == DECL_STRUCT)) ||
2620  
-		    isLanguage (Lang_csharp) || isLanguage (Lang_vala))  &&
2621  
-			inheritingDeclaration (st->declaration)) ||
2622  
-			isLanguage (Lang_d))
  2620
+			isLanguage (Lang_csharp) || isLanguage (Lang_d) || isLanguage (Lang_vala)) &&
  2621
+			inheritingDeclaration (st->declaration))
2623 2622
 		{
2624 2623
 			readParents (st, ':');
2625 2624
 		}

0 notes on commit d7e285d

Please sign in to comment.
Something went wrong with that request. Please try again.