mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
Fix bug that was causing problems for lli
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
01c7f6d1c7
commit
d16714b5ed
@ -230,7 +230,7 @@ void cl::ParseCommandLineOptions(int &argc, char **argv,
|
||||
// All of the positional arguments have been fulfulled, give the rest to
|
||||
// the consume after option... if it's specified...
|
||||
//
|
||||
if (PositionalVals.size() == NumPositionalRequired &&
|
||||
if (PositionalVals.size() >= NumPositionalRequired &&
|
||||
ConsumeAfterOpt != 0) {
|
||||
for (++i; i < argc; ++i)
|
||||
PositionalVals.push_back(argv[i]);
|
||||
|
@ -230,7 +230,7 @@ void cl::ParseCommandLineOptions(int &argc, char **argv,
|
||||
// All of the positional arguments have been fulfulled, give the rest to
|
||||
// the consume after option... if it's specified...
|
||||
//
|
||||
if (PositionalVals.size() == NumPositionalRequired &&
|
||||
if (PositionalVals.size() >= NumPositionalRequired &&
|
||||
ConsumeAfterOpt != 0) {
|
||||
for (++i; i < argc; ++i)
|
||||
PositionalVals.push_back(argv[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user