the begin is detected as a keyword, so I can assume that if
multi_line_comment was called is because of a =begin
Em 06/03/2013 02:38, "Alex Gaynor" <notifications@github.com> escreveu:

> In topaz/lexer.py:
>
> > @@ -350,6 +366,18 @@ def comment(self, ch):
> >                  self.unread()
> >                  break
> >
> > +    def multi_line_comment(self):
> > +        while True:
> > +            ch = self.read()
> > +            if ch == self.EOF:
> > +                raise LexerError(self.current_pos(),"embedded document meets end of file")
> > +            if ch in "\n\r":
> > +                if self.read() == "=":
> > +                    if self.read() == "e":
> > +                        if self.read() == "n":
> > +                            if self.read() == "d":
> > +                                break
> > +
> >      def identifier(self, ch, command_state):
>
> There's still nothing in here to detect the =begin.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/topazproject/topaz/pull/483/files#r3256369>
> .
>