From: matz@... (Yukihiro Matsumoto) Date: 2000-11-10T16:15:32+09:00 Subject: [ruby-talk:6248] Re: quiz of the week In message "[ruby-talk:6247] Re: quiz of the week" on 00/11/10, Mathieu Bouchard writes: |now try this one!!! | | eval '^' Aaaaaghhhh! This is a bug! --- parse.y 2000/10/31 08:37:39 1.65 +++ parse.y 2000/11/10 07:14:37 @@ -3282,3 +3282,3 @@ lex_state = EXPR_BEG; - if (nextc() == '=') { + if ((c = nextc()) == '=') { yylval.id = '^'; @@ -3287,3 +3287,3 @@ pushback(c); - return c; + return '^';