From c24d94f87fcc17f4a600d49077b24db41f350798 Mon Sep 17 00:00:00 2001 From: joe-conigliaro Date: Sat, 19 Oct 2019 19:40:01 +1100 Subject: [PATCH] compiler: fix mistake in comptime.v (#2425) * merge master * fix mistake in comptime.v --- vlib/compiler/comptime.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/compiler/comptime.v b/vlib/compiler/comptime.v index 0536930f4c..c8172ce5cf 100644 --- a/vlib/compiler/comptime.v +++ b/vlib/compiler/comptime.v @@ -179,7 +179,7 @@ fn (p mut Parser) chash() { // println('chsh() file=$p.file hash="$hash"') p.next() if hash.starts_with('flag ') { - p.first_pass() { + if p.first_pass() { mut flag := hash.right(5) // expand `@VROOT` `@VMOD` to absolute path flag = flag.replace('@VROOT', p.vroot)