// got different instance of ToolParamRecognizer with tool==null
// got different instance of ToolParamRecognizer with tool==null
RecognizerResultresult=recognize(template,pos);// Already skipped blank lines (and spaces in each line, added separators - no, on deifferent level
RecognizerResultresult=recognize(template,pos,topProcessor);// Already skipped blank lines (and spaces in each line, added separators - no, on different level
if(result!=null&&result.getGenerator()!=null){
if(result!=null&&result.getGenerator()!=null){
assertresult.getNewPos()>pos;
assertresult.getNewPos()>pos;
...
@@ -111,9 +126,9 @@ public class FormatProcessor {
...
@@ -111,9 +126,9 @@ public class FormatProcessor {
System.out.println("Failed to expandedGenerators.remove(expandedGenerators.size()-1), e="+e);// Andrey where does this concurrency come from? SOLVED: got rid of static