Don't track the generated Java lexer.

This commit is contained in:
Yorick Peterse 2014-05-06 10:11:19 +02:00
parent d2742cfdde
commit eeeeb0efad
2 changed files with 1 additions and 27 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@ profile/samples/*/*.txt
tmp
ext/liboga/lexer.c
ext/liboga/org/liboga/xml/Lexer.java

View File

@ -1,27 +0,0 @@
package org.liboga.xml;
import java.io.IOException;
import org.jruby.Ruby;
import org.jruby.RubyModule;
import org.jruby.RubyClass;
import org.jruby.RubyObject;
import org.jruby.anno.JRubyClass;
import org.jruby.anno.JRubyMethod;
import org.jruby.runtime.ThreadContext;
import org.jruby.runtime.builtin.IRubyObject;
@JRubyClass(name="Oga::XML::Lexer", parent="Object")
public class Lexer extends RubyObject
{
public Lexer(Ruby runtime, RubyClass klass)
{
super(runtime, klass);
}
@JRubyMethod
public IRubyObject advance_native(ThreadContext context)
{
return context.getRuntime().getNil();
}
}