mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: reduce max_expr_level to 310 (due to more limited stack size on windows)
This commit is contained in:
parent
34e175a343
commit
14648fa41e
@ -18,7 +18,7 @@ fn (mut p Parser) assign_stmt() ast.Stmt {
|
||||
return p.partial_assign_stmt(exprs, comments)
|
||||
}
|
||||
|
||||
const max_expr_level = 2500
|
||||
const max_expr_level = 310
|
||||
|
||||
fn (mut p Parser) check_undefined_variables(exprs []ast.Expr, val ast.Expr) ? {
|
||||
p.expr_level++
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user