1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: temporary lld fix

This commit is contained in:
Alexander Medvednikov 2020-03-20 20:46:42 +01:00
parent 4b36098e07
commit ec003ff897

View File

@ -1141,6 +1141,9 @@ fn (g mut Gen) match_expr(node ast.MatchExpr) {
fn (g mut Gen) ident(node ast.Ident) {
name := node.name.replace('.', '__')
if name == 'lld' {
return
}
if name.starts_with('C__') {
g.write(name[3..])
}