Mercurial > projects > ddmd
diff dmd/expression/Util.d @ 157:b7b61140701d
* added all missing default cases in switch statements
+ Lexer.getDocComment
+ Lexer.combineComments
author | trass3r |
---|---|
date | Thu, 16 Sep 2010 01:34:10 +0200 |
parents | 0c8cc2a10f99 |
children | 80f4806ffa13 |
line wrap: on
line diff
--- a/dmd/expression/Util.d Wed Sep 15 18:24:39 2010 +0200 +++ b/dmd/expression/Util.d Thu Sep 16 01:34:10 2010 +0200 @@ -187,8 +187,9 @@ * If there are no overloads of function f, return that function, * otherwise return NULL. */ -static int fpunique(void *param, FuncDeclaration f) -{ FuncDeclaration *pf = cast(FuncDeclaration *)param; +static int fpunique(void* param, FuncDeclaration f) +{ + FuncDeclaration* pf = cast(FuncDeclaration *)param; if (*pf) { *pf is null;