summaryrefslogtreecommitdiff
path: root/source/compiler/aslprimaries.y
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/aslprimaries.y')
-rw-r--r--source/compiler/aslprimaries.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler/aslprimaries.y b/source/compiler/aslprimaries.y
index 7bbf4155ab770..1fb9e501dddd3 100644
--- a/source/compiler/aslprimaries.y
+++ b/source/compiler/aslprimaries.y
@@ -663,7 +663,7 @@ FunctionTerm
PARSEOP_CLOSE_PAREN '{' {COMMENT_CAPTURE_ON; }
TermList '}' {$$ = TrLinkOpChildren ($<n>3,7,
TrSetOpFlags ($4, OP_IS_NAME_DECLARATION),
- TrCreateValuedLeafOp (PARSEOP_BYTECONST, 0),
+ TrCreateLeafOp (PARSEOP_DEFAULT_ARG),
TrCreateLeafOp (PARSEOP_SERIALIZERULE_NOTSERIAL),
TrCreateValuedLeafOp (PARSEOP_BYTECONST, 0),$5,$6,$10);}
| PARSEOP_FUNCTION