Skip to content

Parser throws Unexpected token COMMA for comma-separated statements #85

@C9Bad

Description

@C9Bad

I ran into a parsing issue when transpiling some Pine v5 scripts that use comma-separated statements on a single line, e.g.:

//@version=5
indicator("Comma separator test", overlay=true)

a = high, b = low
plot(a), plot(b)

This currently fails with:

Unexpected token COMMA

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions