if (indentation > last) {
indenting = false;
istack.add(indentation);
- System.out.print("\033[31m+"+indentation+"+\033[0m");
+ //System.out.print("\033[31m+"+indentation+"+\033[0m");
return CharToken.left;
} else /*if (indentation < last)*/ {
istack.remove(istack.size()-1);
- System.out.print("\033[31m-"+last+"-\033[0m");
+ //System.out.print("\033[31m-"+last+"-\033[0m");
blank = true;
return CharToken.right;
}
return done(c);
}
}
+
public CharToken done(char c) {
switch(c) {
case '{': return CharToken.left;