mirror of
https://github.com/vlang/v.git
synced 2025-09-16 07:52:32 +03:00
parser: p.mod clean up
This commit is contained in:
parent
ae2af4c36d
commit
efe03a39cc
7 changed files with 70 additions and 70 deletions
|
@ -61,10 +61,10 @@ fn (v &V) find_module_path(mod string) ?string {
|
|||
return import_path
|
||||
}
|
||||
|
||||
fn mod_gen_name(mod string) string {
|
||||
[inline] fn mod_gen_name(mod string) string {
|
||||
return mod.replace('.', '_dot_')
|
||||
}
|
||||
|
||||
fn mod_gen_name_rev(mod string) string {
|
||||
[inline] fn mod_gen_name_rev(mod string) string {
|
||||
return mod.replace('_dot_', '.')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue