Skip to content

Commit 3d5330a

Browse files
committed
Use original grammar, replace actions in java_generator.py
1 parent fb02b94 commit 3d5330a

File tree

4 files changed

+714
-432
lines changed

4 files changed

+714
-432
lines changed

graalpython/com.oracle.graal.python.pegparser.generator/diff_generator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def visit_Rule(self, node: Rule):
129129
def visit_Alt(self, node: Alt):
130130
action = re.sub(r" ([\.,\(\)\[\]]) ", r"\1", str(node.action)) # shorten action string
131131
self.actions[" ".join(str(item) for item in node.items)] = action
132+
self.generic_visit(node)
132133

133134

134135
def main():

0 commit comments

Comments
 (0)