Fixed bug in RISC-V ISA string parsing
This commit is contained in:
@@ -141,9 +141,11 @@ namespace Targets::RiscV
|
|||||||
if (character == '_') {
|
if (character == '_') {
|
||||||
commitMultiLetterExtension(*multiLetterExtension);
|
commitMultiLetterExtension(*multiLetterExtension);
|
||||||
multiLetterExtension = std::nullopt;
|
multiLetterExtension = std::nullopt;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
multiLetterExtension->push_back(character);
|
||||||
}
|
}
|
||||||
|
|
||||||
multiLetterExtension->push_back(character);
|
|
||||||
++stringOffset;
|
++stringOffset;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user