Address LP#730743, errant parens cause pain
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 22 Apr 2011 20:45:46 +0000 (20:45 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 22 Apr 2011 20:45:46 +0000 (20:45 +0000)
commitfcc7104b3876982b3795664bf2cb3f6c04c64977
treeddef9bf30e8c7ac100086b7f0735926d8f6b529f
parent841f7bea3f92ac5a6e2de5a22936ec76e3da9025
Address LP#730743, errant parens cause pain

Specifically, we prune subplans that contain no nodes (empty parens), and avoid dropping out of the top level query context when we encounter a close-paren.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_1@20290 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.pm