diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-07-04 22:42:25 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-07-04 22:42:25 +0100 |
| commit | 188bc28f6a06a29a117b36c9e8c45f0fe08465c7 (patch) | |
| tree | 79384247828673ddc6b137769b5b6ecca0190f20 /src/parser.cpp | |
| parent | 689a0c0b4955e5325c5409855632a3d4a154b41e (diff) | |
Allow for overloading of polymorphic procedures
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 2d134d420..364f2f339 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -664,7 +664,7 @@ AstNode *clone_ast_node(gbAllocator a, AstNode *node) { n->RunExpr.expr = clone_ast_node(a, n->RunExpr.expr); break; case AstNode_UnaryExpr: - n->RunExpr.expr = clone_ast_node(a, n->RunExpr.expr); + n->UnaryExpr.expr = clone_ast_node(a, n->UnaryExpr.expr); break; case AstNode_BinaryExpr: n->BinaryExpr.left = clone_ast_node(a, n->BinaryExpr.left); |