1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

new gg/freetype modules with sokol/fontstash backends

This commit is contained in:
Alexander Medvednikov
2020-01-21 03:22:18 +01:00
parent 43ba6766ba
commit 0502a54a36
15 changed files with 321 additions and 20 deletions

View File

@ -128,10 +128,11 @@ fn (p mut Parser) for_st() {
}
}
// `for val in vals`
else if p.peek() == .key_in {
else if p.peek() == .key_in || p.peek() == .left_arrow {
val := p.check_name()
p.fspace()
p.check(.key_in)
//p.check(.key_in)
p.next()
p.fspace()
tmp := p.get_tmp()
mut typ,expr := p.tmp_expr()