D29276: [ELF] - Linkerscript: do not fail on additional semicolons in linkerscript.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 01:17:45 PST 2017
>================
>Comment at: lld/trunk/ELF/LinkerScript.cpp:1497-1498
>+ if (Tok == ";") {
>+ // Commands may contain excessive additional semicolons around.
>+ // We should be able to parse it.
>+ } else if (SymbolAssignment *Assignment = readProvideOrAssignment(Tok)) {
>----------------
>This is indeed better, but I think a more natural description about the grammar is that empty commands are allowed.
Fixed in r293749.
George.
More information about the llvm-commits
mailing list