compiler: Don't encode non-ASCII characters in identifiers.
From-SVN: r194068
This commit is contained in:
parent
b4ec63970a
commit
cfb84a52ec
@ -915,12 +915,8 @@ Lex::gather_identifier()
|
||||
}
|
||||
if (is_invalid && !Lex::is_invalid_identifier(buf))
|
||||
buf.append("$INVALID$");
|
||||
buf.append(p, pnext - p);
|
||||
p = pnext;
|
||||
char ubuf[50];
|
||||
// This assumes that all assemblers can handle an identifier
|
||||
// with a '$' character.
|
||||
snprintf(ubuf, sizeof ubuf, "$U%x$", ci);
|
||||
buf.append(ubuf);
|
||||
}
|
||||
}
|
||||
Location location = this->location();
|
||||
|
Loading…
Reference in New Issue
Block a user