1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

instead of Enum.foo require .foo if it's enough + some UI fixes

This commit is contained in:
Alexander Medvednikov
2019-10-30 15:04:25 +03:00
parent 9abbfa7862
commit 96f7620628
7 changed files with 36 additions and 28 deletions

View File

@ -215,9 +215,9 @@ fn (p mut Parser) chash() {
else if hash.contains('embed') {
pos := hash.index('embed') + 5
file := hash[pos..]
if p.pref.build_mode != .default_mode {
//if p.pref.build_mode != .default_mode {
p.genln('#include $file')
}
//}
}
else if hash.contains('define') {
// Move defines on top