Skip to content

Fail on line containing no instruction but only a comment. ( starting with ; ) #4

Closed
@dglaude

Description

@dglaude

; just comment produce "IndexError: list index out of range"

shade = """
.program shade
  ; just a comment
    set pins 1 [1]  ; Drive pin high and then delay for [x] cycle
    set pins 0 [31] ; Drive pin low and then delay for [x] cycle
"""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions