- changed type of Nop expression to void

Control flow statements with constant condition no longer cause misleading fatal errors in ZScript

https://forum.zdoom.org/viewtopic.php?t=63566
This commit is contained in:
alexey.lysiuk 2019-02-06 12:09:14 +02:00 committed by drfrag
parent 83fa021e4b
commit 05b12e8d74

View file

@ -2106,7 +2106,7 @@ public:
: FxExpression(EFX_Nop, p)
{
isresolved = true;
ValueType = TypeError;
ValueType = TypeVoid;
}
ExpEmit Emit(VMFunctionBuilder *build)
{