Skip to content

Semi-colon character is not counted as newline when indenting #1

@Sodaware

Description

@Sodaware

BlitzMax supports using a ; character as a newline. Automatic indentation does not take this into account, so single-line definitions mangle the indent level:

Function iAmEmpty() ; End Function
    Print "I should not be indented"

The second line should not be indented. This problem happens with all indented syntax: While, Repeat, For, Function, If, Select, Type and Method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions