mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
parser: cached tokens (second step)
This commit is contained in:
parent
a45255337d
commit
da43267e09
8 changed files with 149 additions and 104 deletions
|
@ -1,9 +1,11 @@
|
|||
struct Foo {
|
||||
a int
|
||||
number int
|
||||
str string
|
||||
f f64
|
||||
}
|
||||
|
||||
fn test_array_str() {
|
||||
f := Foo{34}
|
||||
f := Foo{34, 'hello', 1.2}
|
||||
println(f)
|
||||
//s := f.str()
|
||||
//println(s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue