mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Properly escape dashes in TableGen's LLVMC2 emitter.
Patch by Patrick Walton! llvm-svn: 58901
This commit is contained in:
parent
f153e3c62e
commit
3f69727bd5
@ -162,8 +162,8 @@ struct OptionDescription {
|
||||
else if (cur_char == '+') {
|
||||
ret += "_plus_";
|
||||
}
|
||||
else if (cur_char == ',') {
|
||||
ret += "_comma_";
|
||||
else if (cur_char == '-') {
|
||||
ret += "_dash_";
|
||||
}
|
||||
else {
|
||||
ret.push_back(cur_char);
|
||||
|
Loading…
Reference in New Issue
Block a user