lib/Tools/codegen
changeset 29892 4a396c7a77b5
parent 29890 cc9eaa852fcd
child 30191 e3e3d28fe5bc
child 30240 5b25fee0362c
--- a/lib/Tools/codegen	Fri Feb 13 10:30:26 2009 +0100
+++ b/lib/Tools/codegen	Fri Feb 13 10:41:56 2009 +0100
@@ -36,5 +36,5 @@
 THY=$(echo $THY | sed -e 's/\\/\\\\"/g; s/"/\\\"/g')
 ISAR="theory Codegen imports \"$THY\" begin export_code $CMD end"
 
-echo "$ISAR" | "$ISABELLE_TOOL" tty -l "$IMAGE" || exit 1
-
+echo "$ISAR" | "$ISABELLE_TOOL" tty -l "$IMAGE"
+exit ${PIPESTATUS[1]}