Skip to content

tools/sddl/compiler/Syntax.md still documents comma-separated records (follow-up to #159) #931

Description

@avionicharshit-byte

#159 reported that the SDDL syntax reference shows record members comma-separated while the compiler only accepts newlines/semicolons. It was closed after the website docs were updated, but the in-repo file wasn't: tools/sddl/compiler/Syntax.md on current dev still says records are "a comma-separated list between curly braces", with this example:

Row = {
  Byte,
  Byte,
  UInt32LE[8],
}

The SDDL1 compiler rejects it:

$ printf 'Row = {\n  Byte,\n  UInt32LE[8],\n}\n: Row[2]\n' | build/tools/sddl/sddl_compiler
syntax error: Unexpected separator token ','

Newline-separated members compile fine, matching the shipped example examples/sddl/sao_silesia.oldv1.sddl.

(For readers landing here from a search: this is SDDL1 / --profile sddl. SDDL2 / --profile sddl2 is the comma-separated language — easy to conflate.)

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