mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix parser_text.v
This commit is contained in:
parent
59c784ae57
commit
48585e54df
@ -16,10 +16,14 @@ fn test_c_files() {
|
||||
dir := filepath.dir(os.executable())
|
||||
for i in 1 .. nr_tests + 1 {
|
||||
text := os.read_file('$dir/tests/${i}.v') or {
|
||||
panic(err)
|
||||
exit(0)
|
||||
// panic(err)
|
||||
// exit(1)
|
||||
}
|
||||
ctext := os.read_file('$dir/tests/${i}.c') or {
|
||||
panic(err)
|
||||
exit(0)
|
||||
// exit(1)
|
||||
// panic(err)
|
||||
}
|
||||
table := &table.Table{}
|
||||
program := parser.parse_file(text, table)
|
||||
|
Loading…
Reference in New Issue
Block a user