- added handling for all the builtins supported by DECORATE to FxFunctionCall.
For the random functions this class only handles the default-RNG version. The one with an explicit RNG needs to be done separately because the parser produces different output for them.
This commit is contained in:
parent
b299b64e47
commit
55f6661c87
3 changed files with 122 additions and 3 deletions
|
|
@ -2301,6 +2301,12 @@ FxExpression *ZCCCompiler::ConvertNode(ZCC_TreeNode *ast)
|
|||
return ConvertNode(fparm->Value);
|
||||
}
|
||||
|
||||
case AST_ExprID:
|
||||
{
|
||||
auto id = static_cast<ZCC_ExprID *>(ast);
|
||||
return new FxIdentifier(id->Identifier, *ast);
|
||||
}
|
||||
|
||||
case AST_ExprConstant:
|
||||
{
|
||||
auto cnst = static_cast<ZCC_ExprConstant *>(ast);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue