Skip to content

string parsing issue realted to quotes #9

Description

@freudi74

The tool seems to have two issues related to strings:

  1. it doesn't handle single quotes as string delimiters
  2. it doesn't handle escape quotes in strings.

An example with custom options:

enum Foo {
  NONE = 0 [(desc)="nothing selected"]; 
  ONE = 1 [(desc)='selected "one"']; // doesn't handle single quote properly
  TWO = 2 [(desc)="selected \"two\""]; // doesn't handle escaped double quote properly
}

It's kind of interesting that the github markdown seem to have the same issue :-)

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