compiler: rename cerror() to verror(); some small optimizations

This commit is contained in:
Alexander Medvednikov 2019-09-24 00:40:34 +03:00
parent 3317d7fd7c
commit 55d09d23b4
11 changed files with 55 additions and 55 deletions

View file

@ -45,7 +45,7 @@ fn (v &V) find_module_path(mod string) string {
if !os.dir_exists(import_path) {
import_path = '$ModPath/$mod_path'
if !os.dir_exists(import_path){
cerror('module "$mod" not found')
verror('module "$mod" not found')
}
}
return import_path