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) }