parser: add an $if tinyc{} wrapper for the tcc_stack_bug variable

pull/4403/head
Delyan Angelov 2020-04-14 18:02:55 +03:00
parent e947d5e8c8
commit 2b3204603a
1 changed files with 6 additions and 3 deletions

View File

@ -1348,9 +1348,12 @@ fn (p mut Parser) array_init() ast.ArrayInit {
}
line_nr := p.tok.line_nr
// NB: do not remove the next line without testing
// v selfcompilation with tcc first
tcc_stack_bug := 12345
$if tinyc {
// NB: do not remove the next line without testing
// v selfcompilation with tcc first
tcc_stack_bug := 12345
}
last_pos = p.tok.position()
p.check(.rsbr)