Don't modify loop control variable when looking for comments. #121

Closed
wants to merge 1 commit into
from
Commits on Apr 1, 2013
  1. Don't modify loop control variable when looking for comments.

    DawidJanczak committed Apr 1, 2013
    The assignment [_, cur] modifies cur variable and does not increment it
    if no result is found.
    Use different variable name for searchpos return value and increase cur
    at the end of loop.