Skip to content

Commit

Permalink
integrate D2 pull 129
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Jun 16, 2011
1 parent d216a27 commit 801fee1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/template.c
Expand Up @@ -1528,11 +1528,14 @@ FuncDeclaration *TemplateDeclaration::deduceFunctionTemplate(Scope *sc, Loc loc,

void TemplateDeclaration::toCBuffer(OutBuffer *buf, HdrGenState *hgs)
{
#if 0 // Should handle template functions
#if 0 // Should handle template functions for doc generation
if (onemember && onemember->isFuncDeclaration())
buf->writestring("foo ");
#endif
buf->writestring(kind());
if (hgs->ddoc)
buf->writestring(kind());
else
buf->writestring("template");
buf->writeByte(' ');
buf->writestring(ident->toChars());
buf->writeByte('(');
Expand Down

0 comments on commit 801fee1

Please sign in to comment.