317 else: |
317 else: |
318 data = match.group(i + 1) |
318 data = match.group(i + 1) |
319 if data is not None: |
319 if data is not None: |
320 if ctx: |
320 if ctx: |
321 ctx.pos = match.start(i + 1) |
321 ctx.pos = match.start(i + 1) |
322 for item in action( |
322 for item in action(lexer, |
323 lexer, _PseudoMatch(match.start(i + 1), data), ctx): |
323 _PseudoMatch(match.start(i + 1), data), ctx): |
324 if item: |
324 if item: |
325 yield item |
325 yield item |
326 if ctx: |
326 if ctx: |
327 ctx.pos = match.end() |
327 ctx.pos = match.end() |
328 return callback |
328 return callback |