Commits

Anonymous committed c3d87fc

Fix RubyLexer heredoc issue as described in #336

  • Participants
  • Parent commits 6f317b4
  • Branches trunk

Comments (0)

Files changed (1)

pygments/lexers/agile.py

         ctx.end = match.end(5)
         # this may find other heredocs
         for i, t, v in self.get_tokens_unprocessed(context=ctx):
-            yield i+start, t, v
+            yield i, t, v
         ctx.pos = match.end()
 
         if outermost: