[tools] Allow struct types in definitions

Allow struct type names in definitions, which result in struct buffer
pointers in generated code.
This commit is contained in:
Justin C. Miller
2022-10-06 23:15:20 -07:00
parent 6b20f1fb19
commit d04b2ae315
7 changed files with 42 additions and 3 deletions

4
scripts/generate_parser.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
python3 -m lark.tools.standalone assets/grammars/definitions.g > scripts/definitions/parser.py
python3 scripts/test_parse_definitions.py