mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- fixed: For proper recognition of optional function arguments, the argflags must also be copied from the parent function to ensure they are itdentical on the override.
This commit is contained in:
parent
549a290a2f
commit
f1bfc3514d
1 changed files with 1 additions and 0 deletions
|
@ -2743,6 +2743,7 @@ void ZCCCompiler::CompileFunction(ZCC_StructWork *c, ZCC_FuncDeclarator *f, bool
|
||||||
if (parentfunc->Variants[0].Implementation->DefaultArgs.Size() > 0)
|
if (parentfunc->Variants[0].Implementation->DefaultArgs.Size() > 0)
|
||||||
{
|
{
|
||||||
sym->Variants[0].Implementation->DefaultArgs = parentfunc->Variants[0].Implementation->DefaultArgs;
|
sym->Variants[0].Implementation->DefaultArgs = parentfunc->Variants[0].Implementation->DefaultArgs;
|
||||||
|
sym->Variants[0].ArgFlags = parentfunc->Variants[0].ArgFlags;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue