forked from Mirrors/openclonk
Fix an aul preparser crash on DirectExec functions parsing
GetLastRetType doesn't work because the preparser does not generate code. The code looks a bit like this line just got lost somehow?qteditor
parent
a713870f33
commit
4581022411
|
@ -1876,6 +1876,7 @@ void C4AulParse::Parse_Expression(int iParentPrio)
|
|||
Shift();
|
||||
// generate code for the following expression
|
||||
Parse_Expression(op->Priority);
|
||||
if (Type == PARSER)
|
||||
{
|
||||
C4V_Type to = op->Type1;
|
||||
C4V_Type from = GetLastRetType(to);
|
||||
|
|
Loading…
Reference in New Issue