mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 22:30:13 +00:00
[ELF] Simplify parsing of version dependency. NFC
This commit is contained in:
parent
835c81923e
commit
5f38040359
@ -1454,9 +1454,8 @@ void ScriptParser::readVersionDeclaration(StringRef verStr) {
|
||||
// as a parent. This version hierarchy is, probably against your
|
||||
// instinct, purely for hint; the runtime doesn't care about it
|
||||
// at all. In LLD, we simply ignore it.
|
||||
if (peek() != ";")
|
||||
skip();
|
||||
expect(";");
|
||||
if (next() != ";")
|
||||
expect(";");
|
||||
}
|
||||
|
||||
static bool hasWildcard(StringRef s) {
|
||||
|
Loading…
Reference in New Issue
Block a user