Navigation Menu

Skip to content

Commit

Permalink
make p6.vim happier
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Dec 16, 2009
1 parent 2d7ce87 commit 3d9f9ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Partcl/commands/main.pm
Expand Up @@ -38,7 +38,7 @@ INIT {


our sub catch(*@args) {
if +@args <1 || +@args >2 {
if +@args < 1 || +@args > 2 {
error('wrong # args: should be "catch command ?varName?"');
}
my $code := @args[0];
Expand Down Expand Up @@ -96,7 +96,7 @@ INIT {
INIT {
GLOBAL::error := -> *@args {
my $message := '';
if +@args <1 || +@args > 3 {
if +@args < 1 || +@args > 3 {
$message := 'wrong # args: should be "error message ?errorInfo? ?errorCode?"';
} else {
$message := @args[0];
Expand Down Expand Up @@ -338,7 +338,7 @@ our sub puts(*@args) {
}

our sub regexp(*@args) {
if +@args <2 {
if +@args < 2 {
error('wrong # args: should be "regexp ?switches? exp string ?matchVar? ?subMatchVar subMatchVar ...?"')
}

Expand Down

0 comments on commit 3d9f9ff

Please sign in to comment.