summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-05-23 18:25:14 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-05-23 18:25:14 +0000
commit09ecc4b69a964aa52843e24f44be5f67b6fadd59 (patch)
treefed24c9d7834d2bcfc1b56c6c8fde7f34f68abb8 /toke.c
parentcca87523cf2ee6eb48a8a0b1a57f8bea2c4b1915 (diff)
downloadperl-09ecc4b69a964aa52843e24f44be5f67b6fadd59.tar.gz
[win32] merge change#1013 from maintbranch (1012 is n/a)
p4raw-link: @1013 on //depot/maint-5.004/perl: e9ccf45401c9d6e23ccd88507835ebd585569b1a p4raw-id: //depot/win32/perl@1028
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/toke.c b/toke.c
index 02f8cb9d2b..2ccafc9642 100644
--- a/toke.c
+++ b/toke.c
@@ -2229,13 +2229,8 @@ yylex(void)
else
lex_brackstack[lex_brackets++] = XOPERATOR;
s = skipspace(s);
- if (*s == '}') {
- if (expect == XSTATE) {
- lex_brackstack[lex_brackets-1] = XSTATE;
- break;
- }
+ if (*s == '}')
OPERATOR(HASHBRACK);
- }
/* This hack serves to disambiguate a pair of curlies
* as being a block or an anon hash. Normally, expectation
* determines that, but in cases where we're not in a