mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
[yaml2obj] Add new command line option -docnum
.
Input YAML file might contain multiple object file definitions. New option `-docnum` allows to specify an ordinal number (starting from 1) of definition used for an object file generation. Patch reviewed by Sean Silva. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209967 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -90,8 +90,8 @@ bool Input::setCurrentDocument() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void Input::nextDocument() {
|
||||
++DocIterator;
|
||||
bool Input::nextDocument() {
|
||||
return ++DocIterator != Strm->end();
|
||||
}
|
||||
|
||||
bool Input::mapTag(StringRef Tag, bool Default) {
|
||||
|
Reference in New Issue
Block a user