Skip to content

DDSIDL: Cannot handle allowed values with blanks #289

Description

@erikbosch

vspec2ddsidl cannot handle string literals with included blanks, like below ( a blank after WITH_).

This is valid VSS (although not following VSS style guide), so vspec2ddsidl should preferably handle this, by ignoring/escaping so that the value becomes a legal DDSIDL value.

MySignal:
  datatype: string[]
  type: attribute
  allowed: ['NO_BLANK', 'WITH_ BLANK', 'SMÖRGÅSTÅRTA']
  description: string value with blank

Activity

  1. erikbosch commented on Jan 2, 2024

    @erikbosch
    CollaboratorAuthor

    This is part of a longer discussion on allowed strings, where there are multiple aspects:

    • Strings generally allowed in VSS syntax (vss-tools VSPEC parser must be able to parse it, but expoertes/generators does not necessarily need to handle it
    • Strings allowed in standard VSS catalog - then also "supported" generators must be able to handle them in a coordinated way.
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions