Mercurial > projects > ldc
diff dmd/expression.h @ 19:788401029ecf trunk
[svn r23] * Updated to DMD 1.021
author | lindquist |
---|---|
date | Thu, 04 Oct 2007 03:42:56 +0200 |
parents | c53b6e3fe49a |
children | 3cfcb944304e |
line wrap: on
line diff
--- a/dmd/expression.h Thu Oct 04 01:47:53 2007 +0200 +++ b/dmd/expression.h Thu Oct 04 03:42:56 2007 +0200 @@ -70,6 +70,8 @@ void argExpTypesToCBuffer(OutBuffer *buf, Expressions *arguments, HdrGenState *hgs); void argsToCBuffer(OutBuffer *buf, Expressions *arguments, HdrGenState *hgs); void expandTuples(Expressions *exps); +FuncDeclaration *hasThis(Scope *sc); +Expression *fromConstInitializer(int result, Expression *e); struct Expression : Object { @@ -622,7 +624,7 @@ elem *toElem(IRState *irs); }; -struct IftypeExp : Expression +struct IsExp : Expression { /* is(targ id tok tspec) * is(targ id == tok2) @@ -633,7 +635,7 @@ Type *tspec; // can be NULL enum TOK tok2; // 'struct', 'union', 'typedef', etc. - IftypeExp(Loc loc, Type *targ, Identifier *id, enum TOK tok, Type *tspec, enum TOK tok2); + IsExp(Loc loc, Type *targ, Identifier *id, enum TOK tok, Type *tspec, enum TOK tok2); Expression *syntaxCopy(); Expression *semantic(Scope *sc); void toCBuffer(OutBuffer *buf, HdrGenState *hgs);