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

cgen: fix -printfn main

This commit is contained in:
Delyan Angelov
2020-07-03 17:42:59 +03:00
parent dff385cb37
commit 652380c5fd
2 changed files with 6 additions and 6 deletions

View File

@ -23,10 +23,6 @@ const (
)
fn main() {
main_v()
}
fn main_v() {
args := os.args[1..]
// args = 123
if args.len == 0 || args[0] in ['-', 'repl'] {