#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.)
#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.mdon currentdevstill says records are "a comma-separated list between curly braces", with this example:The SDDL1 compiler rejects it:
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 sddl2is the comma-separated language — easy to conflate.)