mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: correct comments in comptime_for() (#17944)
This commit is contained in:
parent
f41ca48ab9
commit
87ca877c83
@ -255,8 +255,10 @@ fn (mut p Parser) comptime_call() ast.ComptimeCall {
|
||||
|
||||
fn (mut p Parser) comptime_for() ast.ComptimeFor {
|
||||
// p.comptime_for() handles these special forms:
|
||||
// $for method in App(methods) {
|
||||
// $for field in App(fields) {
|
||||
// `$for method in App.methods {`
|
||||
// `$for val in App.values {`
|
||||
// `$for field in App.fields {`
|
||||
// `$for attr in App.attributes {`
|
||||
p.next()
|
||||
p.check(.key_for)
|
||||
var_pos := p.tok.pos()
|
||||
|
Loading…
Reference in New Issue
Block a user