mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: blank ident - consolidate duplicated code into single function
This commit is contained in:

committed by
Alexander Medvednikov

parent
8a31ee4b53
commit
f7c00b8180
@ -185,7 +185,7 @@ fn (p mut Parser) chash() {
|
||||
flag = flag.replace('@VROOT', p.vroot)
|
||||
flag = flag.replace('@VMOD', v_modules_path)
|
||||
//p.log('adding flag "$flag"')
|
||||
_p := p.table.parse_cflag(flag, p.mod) or {
|
||||
_ = p.table.parse_cflag(flag, p.mod) or {
|
||||
p.error_with_token_index(err, p.cur_tok_index()-1)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user