summaryrefslogtreecommitdiff
path: root/src/tparse/tree-statement.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/tparse/tree-statement.go')
-rw-r--r--src/tparse/tree-statement.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tparse/tree-statement.go b/src/tparse/tree-statement.go
index 262bd6f..2fb6b8a 100644
--- a/src/tparse/tree-statement.go
+++ b/src/tparse/tree-statement.go
@@ -186,7 +186,7 @@ func keywordStatement(tokens *[]Token, tok, max int) (Node, int) {
// Check for a numerical value and dip
case "return":
if (*tokens)[tok].Type != DELIMIT || (*tokens)[tok].Data == "{" || (*tokens)[tok].Data == "(" {
- tmp, tok = parseValue(tokens, tok, max)
+ tmp, tok = parseValueList(tokens, tok, max)
}
case "alloc", "salloc":
// Parse value list