diff options
Diffstat (limited to 'src/SPL')
-rw-r--r-- | src/SPL/PrettyPrinter.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SPL/PrettyPrinter.hs b/src/SPL/PrettyPrinter.hs index 6d55d1b..48cdf9d 100644 --- a/src/SPL/PrettyPrinter.hs +++ b/src/SPL/PrettyPrinter.hs @@ -112,7 +112,8 @@ instance Pprint Statement where pprint stmt2 pprint ";" pprint stmt1 - pprint _ = error "Cannot pprint unknow statement" + pprint Nop = return () + pprint _ = error "Cannot pprint unknown statement" instance Pprint Expression where pprint (Var v) = pprint v |