parser: p.mod clean up

This commit is contained in:
joe-conigliaro 2019-10-13 11:05:11 +11:00 committed by Alexander Medvednikov
parent ae2af4c36d
commit efe03a39cc
7 changed files with 70 additions and 70 deletions

View file

@ -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_', '.')
}