From: bdemsky Date: Wed, 10 May 2006 19:59:25 +0000 (+0000) Subject: changes checked in X-Git-Tag: preEdgeChange~893 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=20b3750b9ca285df6699f8cf943dbeec1a01f520;p=IRC.git changes checked in --- diff --git a/Robust/src/IR/Tree/BuildIR.java b/Robust/src/IR/Tree/BuildIR.java index db52e189..0150b12e 100644 --- a/Robust/src/IR/Tree/BuildIR.java +++ b/Robust/src/IR/Tree/BuildIR.java @@ -30,7 +30,9 @@ public class BuildIR { } else if (isNode(type_pn,"task_declaration")) { TaskDescriptor td=parseTaskDecl(type_pn); state.addTask(td); - } throw new Error(); + } else { + throw new Error(type_pn.getLabel()); + } } } }