fixed codegen tool
authorhaftmann
Fri, 13 Feb 2009 10:41:56 +0100
changeset 29892 4a396c7a77b5
parent 29891 42aa700354d6
child 29893 defab1c6a6b5
fixed codegen tool
lib/Tools/codegen
--- 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]}