mirror of
https://github.com/rui314/mold.git
synced 2024-12-28 19:04:27 +03:00
Allow extra token
This commit is contained in:
parent
fb8c2ea049
commit
f1fc305311
@ -241,6 +241,8 @@ void parse_version_script(std::string path) {
|
||||
}
|
||||
|
||||
tok = skip(tok, "}");
|
||||
if (!tok.empty() && tok[0] != ";")
|
||||
tok = tok.subspan(1);
|
||||
tok = skip(tok, ";");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user