mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Properly escape dashes in TableGen's LLVMC2 emitter.
Patch by Patrick Walton! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58901 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
203e71db29
commit
760a5724c6
@ -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…
x
Reference in New Issue
Block a user