File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ fn (mut p Parser) array_init(is_option bool) ast.ArrayInit {
10
10
first_pos := p.tok.pos ()
11
11
mut last_pos := p.tok.pos ()
12
12
p.check (.lsbr)
13
- // p.warn('array_init() exp=$p.expected_type')
14
13
mut array_type := ast.void_type
15
14
mut elem_type := ast.void_type
16
15
mut elem_type_pos := first_pos
@@ -61,12 +60,6 @@ fn (mut p Parser) array_init(is_option bool) ast.ArrayInit {
61
60
}
62
61
p.inside_array_lit = old_inside_array_lit
63
62
line_nr := p.tok.line_nr
64
- $if tinyc {
65
- // Note: do not remove the next line without testing
66
- // v selfcompilation with tcc first
67
- tcc_stack_bug := 12345
68
- _ = tcc_stack_bug
69
- }
70
63
last_pos = p.tok.pos ()
71
64
p.check (.rsbr)
72
65
if exprs.len == 1 && p.tok.line_nr == line_nr
@@ -104,7 +97,7 @@ fn (mut p Parser) array_init(is_option bool) ast.ArrayInit {
104
97
first_pos.extend (last_pos))
105
98
}
106
99
} else {
107
- if p.tok.kind == .not { // && p.tok.line_nr == p.prev_tok.line_nr {
100
+ if p.tok.kind == .not {
108
101
last_pos = p.tok.pos ()
109
102
is_fixed = true
110
103
has_val = true
You can’t perform that action at this time.
0 commit comments