mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
comptime: fix tcc check
This commit is contained in:
parent
60e7c12e92
commit
a68222b55b
@ -69,8 +69,10 @@ fn (p mut Parser) comp_time() {
|
||||
p.genln('#ifdef __TINYC__')
|
||||
p.check(.lcbr)
|
||||
p.statements_no_rcbr()
|
||||
if ! (p.tok == .dollar && p.peek() == .key_else) {
|
||||
p.genln('#endif')
|
||||
}
|
||||
}
|
||||
else {
|
||||
println('Supported platforms:')
|
||||
println(supported_platforms)
|
||||
|
Loading…
Reference in New Issue
Block a user