parser: reduce max_expr_level to 310 (due to more limited stack size on windows)
parent
34e175a343
commit
14648fa41e
|
@ -18,7 +18,7 @@ fn (mut p Parser) assign_stmt() ast.Stmt {
|
||||||
return p.partial_assign_stmt(exprs, comments)
|
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) ? {
|
fn (mut p Parser) check_undefined_variables(exprs []ast.Expr, val ast.Expr) ? {
|
||||||
p.expr_level++
|
p.expr_level++
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue