summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-07-11 12:31:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-07-11 12:31:37 +0000
commit0a49cebac8c6531d9590517f334a9dfb7ca15497 (patch)
tree1aff4d8306aeab852543e63843c54c4771f8d712 /parse.y
parentfefba453856ff9dfe5ecb0b1e04888c6f14b2383 (diff)
* parse.y (yylex): should pushback proper char after '<<'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 8efd94f509..3c43eee78d 100644
--- a/parse.y
+++ b/parse.y
@@ -3094,7 +3094,7 @@ yylex()
return tLEQ;
}
if (c == '<') {
- if (nextc() == '=') {
+ if ((c = nextc()) == '=') {
yylval.id = tLSHFT;
lex_state = EXPR_BEG;
return tOP_ASGN;