Permalink
Browse files

Append trycatch in addition to instructions.

  • Loading branch information...
1 parent bd203ee commit 8176bd2dea65c2b3fd1e5e482e3bf27da9753691 @bobmcwhirter bobmcwhirter committed Aug 22, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/me/qmx/jitescript/CodeBlock.java
View
1 src/main/java/me/qmx/jitescript/CodeBlock.java
@@ -1124,6 +1124,7 @@ public CodeBlock append(CodeBlock codeBlock) {
this.returns = true;
}
this.getInstructionList().add(codeBlock.getInstructionList());
+ this.tryCatchBlockList.addAll( codeBlock.getTryCatchBlockList() );
return this;
}

0 comments on commit 8176bd2

Please sign in to comment.