cgen: temporary lld fix

pull/4084/head
Alexander Medvednikov 2020-03-20 20:46:42 +01:00
parent 4b36098e07
commit ec003ff897
1 changed files with 3 additions and 0 deletions

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..])
}