mirror of
https://github.com/ziglang/zig.git
synced 2025-12-13 17:53:07 +00:00
std.zig.parser: Refactor round 2
* More work on ensuring that each state only eat one token * VarDecl parsing now constructs its node * Handling all fn parsing in the same case * Using eatToken instead of getNextToken where possible * All tokenIdTo* now takes @TagType(Token.Id) * Added a createToCtxLiteral function
This commit is contained in:
parent
fad54e62bb
commit
44c53c9979
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user