]> hydra-www.ietfng.org Git - dyna2/commitdiff
tiny tweak to codegen
authortimv <tim.f.vieira@gmail.com>
Mon, 17 Dec 2012 20:43:37 +0000 (15:43 -0500)
committertimv <tim.f.vieira@gmail.com>
Mon, 17 Dec 2012 20:43:37 +0000 (15:43 -0500)
src/Dyna/Backend/Python.hs

index f32eea6ac8a5118140b55653dd94728c446c93a9..a83edffbd6b8d8c42eeef618565ae3225435807c 100644 (file)
@@ -117,7 +117,7 @@ py (f,a) mu (FRule h _ _ r span _) dope =
                          "@register"
                  <>      pfsa
                  `above` "def" <+> char '_'
-                               <+> tupled (map pretty [hv,v])
+                               <> tupled (map pretty [hv,v])
                                <+> colon
              Nothing -> "@initializer" <> pfsa
                  `above` "def _():"