From cdebedb8399c49ebd148032c1921eb6ef06a6372 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Tue, 11 Oct 2022 13:36:11 -0400 Subject: [PATCH] Fixed test case --- parser/argument.go | 2 -- parser/func_test.go | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/parser/argument.go b/parser/argument.go index d07792e..2f83ecc 100644 --- a/parser/argument.go +++ b/parser/argument.go @@ -3,8 +3,6 @@ package parser import "git.tebibyte.media/arf/arf/lexer" import "git.tebibyte.media/arf/arf/infoerr" -// TODO: add support for dereferences and subscripts (currently being worked on) - var validArgumentStartTokens = []lexer.TokenKind { lexer.TokenKindName, diff --git a/parser/func_test.go b/parser/func_test.go index f34aed9..dabbf4e 100644 --- a/parser/func_test.go +++ b/parser/func_test.go @@ -110,8 +110,8 @@ func ro iDereference > y:{Int ..} > z:Int:4 --- - = b:Int {x} - = c:Int {y 4} - = d:Int {z 3} + [= b:Int {x}] + [= c:Int {y 4}] + [= d:Int {z 3}] `, test) }