Skip to content

Embedded @PCode can't have strings with } character #1

Description

@Dinnerbone

Reproduction:

@PCode {
    Push "}"
}

The lexing of @PCode tags is too simple, and just looks for an unbalanced amount of } compared {. We should probably use the pcode lexer and count actual {/} tokens, instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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