mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
compiler: rename cerror() to verror(); some small optimizations
This commit is contained in:
parent
3317d7fd7c
commit
55d09d23b4
11 changed files with 55 additions and 55 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue