mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: cleanup/rename all comp_
names to be comptime_
(#12467)
This commit is contained in:
@ -405,7 +405,7 @@ fn (t Tree) stmt(node ast.Stmt) &Node {
|
||||
ast.EnumDecl { return t.enum_decl(node) }
|
||||
ast.InterfaceDecl { return t.interface_decl(node) }
|
||||
ast.HashStmt { return t.hash_stmt(node) }
|
||||
ast.CompFor { return t.comp_for(node) }
|
||||
ast.CompFor { return t.comptime_for(node) }
|
||||
ast.GlobalDecl { return t.global_decl(node) }
|
||||
ast.DeferStmt { return t.defer_stmt(node) }
|
||||
ast.TypeDecl { return t.type_decl(node) }
|
||||
@ -700,7 +700,7 @@ fn (t Tree) hash_stmt(node ast.HashStmt) &Node {
|
||||
return obj
|
||||
}
|
||||
|
||||
fn (t Tree) comp_for(node ast.CompFor) &Node {
|
||||
fn (t Tree) comptime_for(node ast.CompFor) &Node {
|
||||
mut obj := new_object()
|
||||
obj.add('ast_type', t.string_node('CompFor'))
|
||||
obj.add('val_var', t.string_node(node.val_var))
|
||||
|
Reference in New Issue
Block a user