Skip to content

Cannot put comments inside blocks #38

Description

@Nixinova

The following creates invalid output:

if ('score X Y matches 1') {
# Commentsayhi
}

The output is:

executeifscoreXYmatches1run# CommentexecuteifscoreXYmatches1runsay hi

Slash comments (//) must be used instead.

What should happen is that the hash comment is just placed before the following command, like:

# CommentexecuteifscoreXYmatches1runsay hi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions