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:
parent
d5faf36aa9
commit
85f67a3f73
@ -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 {
|
pub fn parse_file(path string, table &table.Table, comments_mode scanner.CommentsMode) ast.File {
|
||||||
// println('parse_file("$path")')
|
// println('parse_file("$path")')
|
||||||
text := os.read_file(path) or {
|
// text := os.read_file(path) or {
|
||||||
panic(err)
|
// panic(err)
|
||||||
}
|
// }
|
||||||
mut stmts := []ast.Stmt
|
mut stmts := []ast.Stmt
|
||||||
mut p := Parser{
|
mut p := Parser{
|
||||||
// scanner: scanner.new_scanner(text, comments_mode)
|
// scanner: scanner.new_scanner(text, comments_mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user