mirror of
https://github.com/vlang/v.git
synced 2025-09-14 15:02:33 +03:00
compiler: update & enable cflag error (#2420)
* merge master * update & enable cflag error
This commit is contained in:
parent
22c7438795
commit
b51b8858d6
2 changed files with 6 additions and 7 deletions
|
@ -185,7 +185,9 @@ fn (p mut Parser) chash() {
|
|||
flag = flag.replace('@VROOT', p.vroot)
|
||||
flag = flag.replace('@VMOD', v_modules_path)
|
||||
//p.log('adding flag "$flag"')
|
||||
p.table.parse_cflag(flag, p.mod)
|
||||
_ = p.table.parse_cflag(flag, p.mod) or {
|
||||
p.error_with_token_index(err, p.cur_tok_index()-1)
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue