mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-17 20:33:12 +01:00
Merge dmd 1.056.
This commit is contained in:
@@ -2483,7 +2483,14 @@ Statement *PragmaStatement::semantic(Scope *sc)
|
||||
Expression *e = (Expression *)args->data[i];
|
||||
|
||||
e = e->semantic(sc);
|
||||
#if 1
|
||||
e = e->optimize(WANTvalue | WANTinterpret);
|
||||
#else
|
||||
e = e->interpret(NULL);
|
||||
if (e == EXP_CANT_INTERPRET)
|
||||
fprintf(stdmsg, ((Expression *)args->data[i])->toChars());
|
||||
else
|
||||
#endif
|
||||
if (e->op == TOKstring)
|
||||
{
|
||||
StringExp *se = (StringExp *)e;
|
||||
|
||||
Reference in New Issue
Block a user