main: reset the scanner

This commit is contained in:
Luna 2019-09-18 16:54:57 -03:00
parent 180444a5d6
commit 084c5cc6ee

View file

@ -34,7 +34,7 @@ pub fn run(allocator: *std.mem.Allocator, slice: []const u8) !Result {
}
}
// scan.reset();
scan.reset();
var parser = parsers.Parser.init(allocator, &scan);
var root = try parser.parse();