changeset 20209 | 174d9b8baf5d |
parent 20034 | 1e5b38a919dd |
parent 20208 | 61a47fd64f30 |
child 22924 | 325babf1de93 |
--- a/mercurial/fileset.py Mon Dec 23 15:29:51 2013 -0800 +++ b/mercurial/fileset.py Wed Jan 01 18:28:40 2014 -0500 @@ -79,7 +79,9 @@ pos += 1 yield ('end', None, pos) -parse = parser.parser(tokenize, elements).parse +def parse(expr): + p = parser.parser(tokenize, elements) + return p.parse(expr) def getstring(x, err): if x and (x[0] == 'string' or x[0] == 'symbol'):