1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tools: new tool to extracts function names declared in V files

This commit is contained in:
Delyan Angelov
2019-10-21 14:14:28 +03:00
committed by Alexander Medvednikov
parent cd8b0d04bb
commit eef73eea22
12 changed files with 184 additions and 40 deletions

View File

@ -11,7 +11,7 @@ import (
fn (v mut V) cc() {
v.build_thirdparty_obj_files()
vexe := os.executable()
vexe := vexe_path()
// Just create a C/JavaScript file and exit
// for example: `v -o v.c compiler`
if v.out_name.ends_with('.c') || v.out_name.ends_with('.js') {