mirror of
https://github.com/ziglang/zig.git
synced 2024-11-29 00:22:33 +00:00
correct doc comment in self hosted parser
This commit is contained in:
parent
02f70cda8a
commit
c721354b73
@ -95,7 +95,8 @@ pub const Parser = struct {
|
||||
};
|
||||
|
||||
/// Returns an AST tree, allocated with the parser's allocator.
|
||||
/// Result should be freed with `freeAst` when done.
|
||||
/// Result should be freed with tree.deinit() when there are
|
||||
/// no more references to any AST nodes of the tree.
|
||||
pub fn parse(self: &Parser) !Tree {
|
||||
var stack = self.initUtilityArrayList(State);
|
||||
defer self.deinitUtilityArrayList(stack);
|
||||
|
Loading…
Reference in New Issue
Block a user