mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: get existing parser using path
This commit is contained in:

committed by
Alexander Medvednikov

parent
68bcf6830c
commit
24136ab88b
@@ -85,7 +85,7 @@ fn v_type_str(typ_ string) string {
|
||||
|
||||
fn (v &V) generate_vh() {
|
||||
println('Generating a V header file for module `$v.mod`')
|
||||
dir := v_modules_path + v.mod
|
||||
dir := '$v_modules_path${os.PathSeparator}$v.mod'
|
||||
path := dir + '.vh'
|
||||
if !os.dir_exists(dir) {
|
||||
os.mkdir(dir)
|
||||
|
Reference in New Issue
Block a user