Fixed test case
This commit is contained in:
parent
49e834860f
commit
cdebedb839
@ -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,
|
||||||
|
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user