1
0
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:
Maulana Akmal
2019-07-01 21:09:16 +07:00
committed by Alexander Medvednikov
parent 32e32cee5c
commit 24b0fd5097
3 changed files with 27 additions and 28 deletions

View File

@@ -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')
}
}