Skip to content
Snippets Groups Projects
Commit f7402198 authored by jonwd7's avatar jonwd7
Browse files

[PARSER CHANGES REQUIRED] Use `\` as compound member accessor

Instead of requiring all parsers to special-case the arg passing for BSVertexDesc,  have just adopted the `\` syntax for compound member accessor.

So at least for parsers that do not internalize BSVertexDesc to be `uint64_t` or equivalent to mirror the game,  all you need to do is support `\`.

For C++ this would go from

`Vertex Desc\Vertex Attributes`
to
`vertexDesc.vertexAttributes`

The period syntax was decided against because it is not very visible and `\` is familiar from filepaths / directory trees.
parent 5e4be763
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment