Skip to content

Commit

Permalink
Merge pull request #849 from donc/bug7794
Browse files Browse the repository at this point in the history
Fix issue 7794 Sea of errors when calling regex() after compile error
  • Loading branch information
WalterBright committed Mar 29, 2012
2 parents cd7d2fc + 15352e8 commit 2707f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expression.c
Expand Up @@ -2913,7 +2913,7 @@ Expression *DsymbolExp::semantic(Scope *sc)
}

TemplateInstance *ti = s->isTemplateInstance();
if (ti && !global.errors)
if (ti)
{ if (!ti->semanticRun)
ti->semantic(sc);
s = ti->inst->toAlias();
Expand Down

0 comments on commit 2707f8a

Please sign in to comment.