Skip to content
Snippets Groups Projects
Commit 93cf98c9 authored by Johannes Mey's avatar Johannes Mey
Browse files

remove debug output

parent 93ca3ced
No related branches found
No related tags found
No related merge requests found
...@@ -21,13 +21,11 @@ import com.intellij.psi.TokenType; ...@@ -21,13 +21,11 @@ import com.intellij.psi.TokenType;
private java.util.Stack<Integer> modeStack = new java.util.Stack<>(); private java.util.Stack<Integer> modeStack = new java.util.Stack<>();
private void enterState(int state) { private void enterState(int state) {
System.out.println("in state" + yystate() + ", entering state " + state);
modeStack.push(yystate()); modeStack.push(yystate());
yybegin(state); yybegin(state);
} }
private void exitState() { private void exitState() {
System.out.println("in state" + yystate() + ", exiting to state " + modeStack.peek());
yybegin(modeStack.pop()); yybegin(modeStack.pop());
} }
%} %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment