[Gerber] Line number tracker is incorrect

Issue #187 new
Juan Pablo Caram repo owner created an issue

In Gerber.parse_lines():

        try:
            for gline in glines:
                line_num += 1

But glines is a generator that can split a line in multiple parts. Also the docs for parse_lines() say that glines is a list. Only needs to be iterable yielding strings.

Comments (0)

  1. Log in to comment