Fixed test case

This commit is contained in:
Sasha Koshka 2022-10-11 13:36:11 -04:00
parent 49e834860f
commit cdebedb839
2 changed files with 3 additions and 5 deletions

View File

@ -3,8 +3,6 @@ package parser
import "git.tebibyte.media/arf/arf/lexer" import "git.tebibyte.media/arf/arf/lexer"
import "git.tebibyte.media/arf/arf/infoerr" import "git.tebibyte.media/arf/arf/infoerr"
// TODO: add support for dereferences and subscripts (currently being worked on)
var validArgumentStartTokens = []lexer.TokenKind { var validArgumentStartTokens = []lexer.TokenKind {
lexer.TokenKindName, lexer.TokenKindName,

View File

@ -110,8 +110,8 @@ func ro iDereference
> y:{Int ..} > y:{Int ..}
> z:Int:4 > z:Int:4
--- ---
= b:Int {x} [= b:Int {x}]
= c:Int {y 4} [= c:Int {y 4}]
= d:Int {z 3} [= d:Int {z 3}]
`, test) `, test)
} }