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

vweb: 404

This commit is contained in:
Alexander Medvednikov
2019-08-02 04:04:48 +02:00
parent c145a5cd7d
commit f81562ee7e
2 changed files with 27 additions and 2 deletions

View File

@ -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()
}
}