mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-27 17:13:20 +01:00
Merged 2.056
This commit is contained in:
@@ -3091,11 +3091,14 @@ STUB(ScopeExp);
|
||||
|
||||
#if DMDV2
|
||||
STUB(SymbolExp);
|
||||
STUB(PowExp);
|
||||
STUB(PowAssignExp);
|
||||
#endif
|
||||
|
||||
#define CONSTSTUB(x) LLConstant* x::toConstElem(IRState * p) { \
|
||||
error("expression '%s' is not a constant", toChars()); \
|
||||
fatal(); \
|
||||
if (!global.gag) \
|
||||
fatal(); \
|
||||
return NULL; \
|
||||
}
|
||||
CONSTSTUB(Expression);
|
||||
|
||||
Reference in New Issue
Block a user