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

fix prod build

This commit is contained in:
Alexander Medvednikov 2020-02-29 17:53:04 +01:00
parent d5faf36aa9
commit 85f67a3f73

View File

@ -67,9 +67,9 @@ pub fn parse_stmt(text string, table &table.Table, scope &ast.Scope) ast.Stmt {
pub fn parse_file(path string, table &table.Table, comments_mode scanner.CommentsMode) ast.File {
// println('parse_file("$path")')
text := os.read_file(path) or {
panic(err)
}
// text := os.read_file(path) or {
// panic(err)
// }
mut stmts := []ast.Stmt
mut p := Parser{
// scanner: scanner.new_scanner(text, comments_mode)