| author | |
| committer | |
| log | c721354b73508ec53bf72d8e7fb304147676625d |
| tree | 4ff9ca4fd342e29562e1aa756c0d3c29e57ac3c1 |
| parent | 02f70cda8a9fb038705e03b6e65625119bdef4e7 |
1 files changed, 2 insertions(+), 1 deletions(-)
std/zig/parser.zig+2-1| ... | ... | @@ -95,7 +95,8 @@ pub const Parser = struct { |
| 95 | 95 | }; |
| 96 | 96 | |
| 97 | 97 | /// Returns an AST tree, allocated with the parser's allocator. |
| 98 | /// Result should be freed with `freeAst` when done. | |
| 98 | /// Result should be freed with tree.deinit() when there are | |
| 99 | /// no more references to any AST nodes of the tree. | |
| 99 | 100 | pub fn parse(self: &Parser) !Tree { |
| 100 | 101 | var stack = self.initUtilityArrayList(State); |
| 101 | 102 | defer self.deinitUtilityArrayList(stack); |