mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: fix mistake in comptime.v (#2425)
* merge master * fix mistake in comptime.v
This commit is contained in:
parent
b51b8858d6
commit
c24d94f87f
@ -179,7 +179,7 @@ fn (p mut Parser) chash() {
|
|||||||
// println('chsh() file=$p.file hash="$hash"')
|
// println('chsh() file=$p.file hash="$hash"')
|
||||||
p.next()
|
p.next()
|
||||||
if hash.starts_with('flag ') {
|
if hash.starts_with('flag ') {
|
||||||
p.first_pass() {
|
if p.first_pass() {
|
||||||
mut flag := hash.right(5)
|
mut flag := hash.right(5)
|
||||||
// expand `@VROOT` `@VMOD` to absolute path
|
// expand `@VROOT` `@VMOD` to absolute path
|
||||||
flag = flag.replace('@VROOT', p.vroot)
|
flag = flag.replace('@VROOT', p.vroot)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user