Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions ext/racc/com/headius/racc/Cparse.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import org.jruby.RubyArray;
import org.jruby.RubyBasicObject;
import org.jruby.RubyClass;
import org.jruby.RubyContinuation;
import org.jruby.RubyFixnum;
import org.jruby.RubyHash;
import org.jruby.RubyKernel;
Expand Down Expand Up @@ -533,7 +532,7 @@ private void shift(ThreadContext context, int act, IRubyObject tok, IRubyObject
private int reduce(ThreadContext context, int act) {
ruleno = -act * 3;
IRubyObject tag = context.runtime.newSymbol("racc_jump");
IRubyObject code = RubyKernel.rbCatch19(context, this,
IRubyObject code = RubyKernel.rbCatch(context, this,
tag,
CallBlock19.newCallClosure(this, getMetaClass(), Signature.NO_ARGUMENTS,
new BlockCallback() {
Expand Down Expand Up @@ -784,7 +783,7 @@ public Throwable fillInStackTrace() {
private void call_lexer(ThreadContext context, final CparseParams v) {
final LexerUnroll lexerUnroll = new LexerUnroll();
try {
v.call_lexmid.call(context, v.lexer, v.lexer, CallBlock19.newCallClosure(v, v.getMetaClass(), Arity.ONE_ARGUMENT, new BlockCallback() {
v.call_lexmid.call(context, v.lexer, v.lexer, CallBlock19.newCallClosure(v, v.getMetaClass(), Signature.ONE_ARGUMENT, new BlockCallback() {
@Override
public IRubyObject call(ThreadContext context, IRubyObject[] args, Block block) {
Ruby runtime = context.getRuntime();
Expand Down