diff options
author | Jan Dubois <jand@activestate.com> | 2010-03-02 16:24:23 -0800 |
---|---|---|
committer | Jan Dubois <jand@activestate.com> | 2010-03-02 22:24:37 -0800 |
commit | 10517af500e340b88209d95ddbb26f6252464272 (patch) | |
tree | 12d03dce1d8f7d0e01a07f007647b91797d0f7e6 /t | |
parent | c06820fb26255c7ec0b8366ded45c6d7f2caf6b1 (diff) | |
download | perl-10517af500e340b88209d95ddbb26f6252464272.tar.gz |
Revert "Forbid labels with keyword names"
This reverts commit f71d6157c7933c0d3df645f0411d97d7e2b66b2f.
Revert "Add new error "Can't use keyword '%s' as a label""
This reverts commit 28ccebc469d90664106fcc1cb73d7321c4b60716.
Diffstat (limited to 't')
-rw-r--r-- | t/comp/colon.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/comp/colon.t b/t/comp/colon.t index 91b2e3667c..e43af3b8e2 100644 --- a/t/comp/colon.t +++ b/t/comp/colon.t @@ -122,14 +122,14 @@ ok 22, (not eval "y:1" and not eval "y:echo: eq y|echo|" and eval "y:echo:ohce: >= 0"); -ok 23, (not eval "AUTOLOAD:1" and +ok 23, (eval "AUTOLOAD:1" and not eval "AUTOLOAD:echo: eq AUTOLOAD|echo|" and not eval "AUTOLOAD:echo:ohce: >= 0"); -ok 24, (not eval "and:1" and +ok 24, (eval "and:1" and not eval "and:echo: eq and|echo|" and not eval "and:echo:ohce: >= 0"); -ok 25, (not eval "alarm:1" and +ok 25, (eval "alarm:1" and not eval "alarm:echo: eq alarm|echo|" and not eval "alarm:echo:ohce: >= 0"); |