mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb: 404
This commit is contained in:
@ -207,5 +207,11 @@ fn (p mut Parser) comptime_method_call(typ Type) {
|
||||
}
|
||||
p.check(.lpar)
|
||||
p.check(.rpar)
|
||||
if p.tok == .key_orelse {
|
||||
p.check(.key_orelse)
|
||||
p.genln('else {')
|
||||
p.check(.lcbr)
|
||||
p.statements()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user