There was an error while loading. Please reload this page.
1 parent 456eb6f commit 5646f86Copy full SHA for 5646f86
1 file changed
Tools/peg_generator/pegen/c_generator.py
@@ -885,8 +885,8 @@ def _visit_rhs_with_first_set_mask(
885
self.print("_first_set_mask = 0;")
886
self.print("switch (_current_token_type) {")
887
with self.indent():
888
- for mask, token_types in sorted(masks.items()):
889
- for token_type in sorted(token_types):
+ for mask, mask_token_types in sorted(masks.items()):
+ for token_type in sorted(mask_token_types):
890
self.print(f"case {token_type}:")
891
892
self.print(f"_first_set_mask = 0x{mask:x}ULL;")
0 commit comments