compiler: rename build to build_module

This commit is contained in:
Vitor Oliveira 2019-09-10 07:36:14 -07:00 committed by Alexander Medvednikov
parent cd47f09f86
commit edd8528049
4 changed files with 9 additions and 9 deletions

View file

@ -108,7 +108,7 @@ fn (f mut Fn) clear_vars() {
// vlib header file?
fn (p mut Parser) is_sig() bool {
return (p.pref.build_mode == .default_mode || p.pref.build_mode == .build) &&
return (p.pref.build_mode == .default_mode || p.pref.build_mode == .build_module) &&
(p.file_path.contains(ModPath))
}