Use ScriptParserBase::skip() instead of peek() and next().
authorRui Ueyama <ruiu@google.com>
Sat, 16 Jul 2016 03:45:59 +0000 (03:45 +0000)
committerRui Ueyama <ruiu@google.com>
Sat, 16 Jul 2016 03:45:59 +0000 (03:45 +0000)
commit52654ebb12e4de5d90b005f876f3718d91571480
tree852e84e735de5b7a97603a0ee23835a041394494
parent8093437f2ef62608107b565c10a92d1dbdda0967
Use ScriptParserBase::skip() instead of peek() and next().

skip(S) consumes a token if the next token is S,
so it can be used instead of peek() & next().

llvm-svn: 275672
lld/ELF/SymbolListFile.cpp