mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: remove \r for consistency (#18962)
This commit is contained in:
parent
fab915782d
commit
3a91a5eceb
@ -364,7 +364,7 @@ fn (mut g Gen) comptime_if(node ast.IfExpr) {
|
|||||||
expr_str := g.out.last_n(g.out.len - start_pos).trim_space()
|
expr_str := g.out.last_n(g.out.len - start_pos).trim_space()
|
||||||
if expr_str != '' {
|
if expr_str != '' {
|
||||||
if g.defer_ifdef != '' {
|
if g.defer_ifdef != '' {
|
||||||
g.defer_ifdef += '\r\n' + '\t'.repeat(g.indent + 1)
|
g.defer_ifdef += '\n' + '\t'.repeat(g.indent + 1)
|
||||||
}
|
}
|
||||||
g.defer_ifdef += expr_str
|
g.defer_ifdef += expr_str
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user