From 1b5082c8e869605e48dc7230a655fbff13f8a405 Mon Sep 17 00:00:00 2001 From: David Loscutoff Date: Sat, 25 Jun 2022 10:19:14 -0500 Subject: [PATCH] Fixed #56. --- parsing.py | 2 +- version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parsing.py b/parsing.py index 64d9b1c..f702de1 100644 --- a/parsing.py +++ b/parsing.py @@ -396,7 +396,7 @@ def unparseExpr(tree, statementSep): code = f"{operands[0]} {op} {operands[1]}; {operands[2]}" elif isinstance(tree, tokens.Name): code = str(tree) - elif isinstance(tree, (ptypes.Scalar, ptypes.Pattern, ptypes.Nil)): + elif isinstance(tree, ptypes.PipType): code = repr(tree) else: # Shouldn't ever get here diff --git a/version.py b/version.py index f20091e..88ddcc3 100644 --- a/version.py +++ b/version.py @@ -1,3 +1,3 @@ VERSION = "1.0.2" -COMMIT_DATE = "2022-03-19" +COMMIT_DATE = "2022-06-25"