Replaced fcall/fret with fnext in the XML lexer.

With the rules being cleaned up/moved around a bit we can drop the use of
fcall/fret. This saves the need of having to maintain a stack (position).
This commit is contained in:
Yorick Peterse committed 2014-05-21 00:08:48 +02:00
1 parent c56b0395e4
commit 4542f06d0f
3 files changed
+9 -20

No files matched your search

-4
View File
@@ -94,10 +94,6 @@ public class Lexer extends RubyObject
int p = 0;
int pe = data.length;
int eof = data.length;
int top = 0;
// Fixed stack size of 8 should be more than enough.
int[] stack = new int[8];
%% write init;
%% write exec;