Change 19944 by [EMAIL PROTECTED] on 2003/07/03 06:30:11
Subject: [PATCH] "without parens" vs "without parentheses"
From: Iain Truskett <[EMAIL PROTECTED]>
Date: Thu, 3 Jul 2003 12:40:42 +1000
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/t/lib/warnings/toke#13 edit
... //depot/perl/toke.c#475 edit
Differences ...
==== //depot/perl/t/lib/warnings/toke#13 (text) ====
Index: perl/t/lib/warnings/toke
--- perl/t/lib/warnings/toke#12~18042~ Mon Oct 21 02:20:54 2002
+++ perl/t/lib/warnings/toke Wed Jul 2 23:30:11 2003
@@ -570,7 +570,7 @@
# toke.c
my $a = rand + 4 ;
EXPECT
-Warning: Use of "rand" without parens is ambiguous at - line 2.
+Warning: Use of "rand" without parentheses is ambiguous at - line 2.
########
# toke.c
$^W = 0 ;
@@ -583,9 +583,9 @@
}
$a = rand + 4 ;
EXPECT
-Warning: Use of "rand" without parens is ambiguous at - line 3.
-Warning: Use of "rand" without parens is ambiguous at - line 8.
-Warning: Use of "rand" without parens is ambiguous at - line 10.
+Warning: Use of "rand" without parentheses is ambiguous at - line 3.
+Warning: Use of "rand" without parentheses is ambiguous at - line 8.
+Warning: Use of "rand" without parentheses is ambiguous at - line 10.
########
# toke.c
sub fred {};
==== //depot/perl/toke.c#475 (text) ====
Index: perl/toke.c
--- perl/toke.c#474~19695~ Thu Jun 5 11:50:51 2003
+++ perl/toke.c Wed Jul 2 23:30:11 2003
@@ -682,7 +682,7 @@
char ch = *s;
*s = '\0';
Perl_warner(aTHX_ packWARN(WARN_AMBIGUOUS),
- "Warning: Use of \"%s\" without parens is ambiguous",
+ "Warning: Use of \"%s\" without parentheses is ambiguous",
PL_last_uni);
*s = ch;
}
End of Patch.