fix parser_test.v
parent
66a07d7fe0
commit
796c376408
|
@ -8,7 +8,7 @@ import (
|
||||||
|
|
||||||
fn test_parse_file() {
|
fn test_parse_file() {
|
||||||
s := '
|
s := '
|
||||||
fn foo() string {
|
fn foo() int {
|
||||||
f := 23
|
f := 23
|
||||||
return 10+4
|
return 10+4
|
||||||
}
|
}
|
||||||
|
|
|
@ -306,7 +306,7 @@ pub fn (t Token) str() string {
|
||||||
|
|
||||||
|
|
||||||
// Representation of highest and lowest precedence
|
// Representation of highest and lowest precedence
|
||||||
const (
|
pub const (
|
||||||
lowest_prec = 0
|
lowest_prec = 0
|
||||||
highest_prec = 7
|
highest_prec = 7
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue