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:
@ -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
|
||||
|
Reference in New Issue
Block a user