Skip to content

Comments // and /* */ broken in Hashlink #16

@TBar09

Description

@TBar09

(using the latest commit in the codename-dev branch)

Running any script with comments (both single line and multi-line comments) will spit out an Unexpected token: "/*" / Unexpected token: "//" exception.
This seems to only be a problem with the Hashlink build target, but this issue may be on other targets as I only tested on windows and hl, and windows seems to work fine.

The only way to get around this is through wrapping the comments in an #if !hl preprocessor and is a bit of a duck tape fix.

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