Included arena allocator in return value
This commit is contained in:
parent
79f9e21da7
commit
18c2d1f2ca
2 changed files with 2 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ typedef struct parsed_token {
|
|||
*/
|
||||
typedef struct parse_result {
|
||||
const parsed_token_t *ast;
|
||||
arena_t arena;
|
||||
} parse_result_t;
|
||||
|
||||
/* Type of an action to apply to an AST, used in the action() parser. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue