Skip to content

Commit

Permalink
remove dummy message
Browse files Browse the repository at this point in the history
  • Loading branch information
hoosierEE committed Aug 6, 2024
1 parent 6316302 commit 7bfecb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proto2/Parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def repr_ast(s):
case 'vec',a: return f'(vec {" ".join(repr_ast(x) for x in a)})'
case str() as a,b: return f'({a} {repr_ast(b)})' if b else a
case tuple()|list(): return " ".join(map(repr_ast,s))
return 'huh?' + str(type(s))
return repr(s)

class Ast(namedtuple('Ast','n c',defaults=(None,))):
def __repr__(s): return repr_ast(s)
Expand Down

0 comments on commit 7bfecb9

Please sign in to comment.