diff --git a/src/parse.zig b/src/parse.zig index 38e9863..0f4c5e6 100644 --- a/src/parse.zig +++ b/src/parse.zig @@ -272,7 +272,7 @@ const Parser = struct { // Either simple or full header. const identifier: ?[] const u8 = try p.parseFullClassHeader(); - p.say("TODO: read class: {}", .{p.giveTokenContent(class_name.?)}); + p.say("Reading class: {}", .{p.giveTokenContent(class_name.?)}); if (identifier) |id| { std.debug.print(", id: {}\n", .{id}); @@ -286,10 +286,8 @@ const Parser = struct { const ignored = try p.expectToken(.LBrace); while (true) { - // TODO: parsing class content. - // TODO: loop over this. const token = p.nextToken(); - p.say("(top class reading) reading token: {}\n", .{p.giveTokenContent(token)}); + p.say("token: {}\n", .{p.giveTokenContent(token)}); switch (p.token_ids[token]) { .Identifier => {