merged
authorhuffman
Wed, 01 Dec 2010 06:50:54 -0800
changeset 40854 f2c9ebbe04aa
parent 40853 225698654b2a (diff)
parent 40847 df8c7dc30214 (current diff)
child 40858 69ab03d29c92
child 40859 de0b30e6c2d2
child 40864 4abaaadfdaf2
child 40888 28cd51cff70c
merged
--- a/src/HOL/HOLCF/Tools/Domain/domain_constructors.ML	Wed Dec 01 15:38:05 2010 +0100
+++ b/src/HOL/HOLCF/Tools/Domain/domain_constructors.ML	Wed Dec 01 06:50:54 2010 -0800
@@ -464,13 +464,13 @@
           if n = m then arg1 (n, c) else (Constant @{const_syntax UU})
       val case_constant = Constant (syntax (case_const dummyT))
       fun case_trans authentic =
-          ParsePrintRule
+          (if authentic then ParsePrintRule else ParseRule)
             (app "_case_syntax"
               (Variable "x",
                foldr1 (app "_case2") (map_index (case1 authentic) spec)),
              capp (capps (case_constant, map_index arg1 spec), Variable "x"))
       fun one_abscon_trans authentic (n, c) =
-          ParsePrintRule
+          (if authentic then ParsePrintRule else ParseRule)
             (cabs (con1 authentic n c, expvar n),
              capps (case_constant, map_index (when1 n) spec))
       fun abscon_trans authentic =