Issue #552 max recursion level bug fixed (parseNext variable)

This commit is contained in:
Jindra Pet��k
2014-03-29 17:57:24 +01:00
parent 4d92dbb75b
commit c0a202d2cc
@@ -1364,7 +1364,7 @@ public class Graph {
/**
* AND / OR detection
*/
if (part.nextParts.size() == 2) {
if (parseNext && part.nextParts.size() == 2) {
if ((stack.size() >= 2) && (stack.get(stack.size() - 1) instanceof NotItem) && (((NotItem) (stack.get(stack.size() - 1))).getOriginal().getNotCoerced() == stack.get(stack.size() - 2).getNotCoerced())) {
GraphPart sp0 = getNextNoJump(part.nextParts.get(0), localData);
GraphPart sp1 = getNextNoJump(part.nextParts.get(1), localData);