mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
Refactor BuildMode enum to lowercase
This commit is contained in:
committed by
Alexander Medvednikov
parent
32e32cee5c
commit
24b0fd5097
@@ -2666,7 +2666,7 @@ fn (p mut Parser) chash() {
|
||||
else if hash.contains('embed') {
|
||||
pos := hash.index('embed') + 5
|
||||
file := hash.right(pos)
|
||||
if p.pref.build_mode != DEFAULT_MODE {
|
||||
if p.pref.build_mode != default_mode {
|
||||
p.genln('#include $file')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user