SimpleProgramAnalyser/spa

Bug for pattern in source program

Closed this issue · 2 comments

Can't parse:
while (100 + 10000 % 1000 < 0)
while ((a + b + c) < 0)
while ((100 + 10000) % 1000 < 0)
while ((a * y) * 1000 < 0)

Can parse:
while (a * y % 1000 < 0)

alcen commented

It is because of the starting bracket then it tries to parse (...) && (...) and (...) || (...) , I will fix

alcen commented

Should be really fixed in #57!