From: Doni Pracner Date: Sun, 5 Jan 2014 20:41:05 +0000 (+0100) Subject: mjc2wsl - trap operation is now full X-Git-Tag: v0.1.4~39 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=0a526039dc93eafced8abe7139bec1ae7d316e17;p=mjc2wsl.git mjc2wsl - trap operation is now full --- diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java index 2f6aa8d..fd360e2 100644 --- a/src/mjc2wsl.java +++ b/src/mjc2wsl.java @@ -449,10 +449,7 @@ public class mjc2wsl{ } case trap: { - // TODO finish trap - prl(createComment("trap not fully procesed yet")); - message("trap not fully procesed yet", M_WAR); - get(); + prl("ERROR(\"Runtime error: trap("+get()+")\");"); break; }