Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'master' of github.com:perl6/nqp into loop_labels
  • Loading branch information
FROGGS committed Apr 25, 2014
2 parents 156b5cc + b596f16 commit 47ab859
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/HLL/CommandLine.nqp
Expand Up @@ -257,9 +257,10 @@ class HLL::CommandLine::Parser {
if %!options{$o} {
if self.wants-value($o) {
if $i + 1 == $len {
nqp::die("Option '$o' in grouped options '-$opt' needs a value, but does not have one");
$result.add-option($o, get-value("-$o"));
} else {
$result.add-option($o, nqp::substr($opt, $i + 1));
}
$result.add-option($o, nqp::substr($opt, $i + 1));
last;
}
else {
Expand Down
2 changes: 1 addition & 1 deletion tools/build/MOAR_REVISION
@@ -1 +1 @@
2014.04-26-g73f8fe1
2014.04-29-ga109e8d

0 comments on commit 47ab859

Please sign in to comment.