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

all: a massive merge of ast and table modules

This commit is contained in:
Alexander Medvednikov
2021-04-02 01:57:09 +03:00
parent 043f6420f7
commit 7385f8e56b
88 changed files with 1839 additions and 1792 deletions

View File

@@ -7,8 +7,8 @@ import os.cmdline
import v.vet
import v.pref
import v.parser
import v.table
import v.token
import v.ast
import term
struct Vet {
@@ -94,7 +94,7 @@ fn (mut vt Vet) vet_file(path string) {
vt.file = path
mut prefs := pref.new_preferences()
prefs.is_vet = true
table := table.new_table()
table := ast.new_table()
vt.vprintln("vetting file '$path'...")
_, errors := parser.parse_vet_file(path, table, prefs)
// Transfer errors from scanner and parser