comptime: fix tcc check
parent
60e7c12e92
commit
a68222b55b
|
@ -69,7 +69,9 @@ fn (p mut Parser) comp_time() {
|
||||||
p.genln('#ifdef __TINYC__')
|
p.genln('#ifdef __TINYC__')
|
||||||
p.check(.lcbr)
|
p.check(.lcbr)
|
||||||
p.statements_no_rcbr()
|
p.statements_no_rcbr()
|
||||||
p.genln('#endif')
|
if ! (p.tok == .dollar && p.peek() == .key_else) {
|
||||||
|
p.genln('#endif')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
println('Supported platforms:')
|
println('Supported platforms:')
|
||||||
|
|
Loading…
Reference in New Issue