Permalink
Browse files

Fix parsing D 'static assert' (#3582833)

  • Loading branch information...
1 parent 75cb789 commit 7d4ffb1e4596f9dc2283f3251aae63781de0aea0 @ntrel ntrel committed Nov 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 tagmanager/ctags/c.c
View
@@ -3154,6 +3154,8 @@ static void initializeDParser (const langType language)
{
addKeyword (*s, language, KEYWORD_CONST);
}
+ /* skip 'static assert' like 'static if' */
+ addKeyword ("assert", language, KEYWORD_IF);
}
static void initializeGLSLParser (const langType language)

0 comments on commit 7d4ffb1

Please sign in to comment.