drop sym: entirely in favour of cur:

This commit is contained in:
Simon Michael 2014-04-08 15:55:40 -07:00
parent 2e2312f215
commit a4a332e64f

View File

@ -208,7 +208,6 @@ prefixes = map (++":") [
,"date"
,"edate"
,"status"
,"sym"
,"cur"
,"real"
,"empty"
@ -249,7 +248,6 @@ parseQueryTerm _ ('r':'e':'a':'l':':':s) = Left $ Real $ parseBool s
parseQueryTerm _ ('a':'m':'t':':':s) = Left $ Amt ord q where (ord, q) = parseAmountQueryTerm s
parseQueryTerm _ ('e':'m':'p':'t':'y':':':s) = Left $ Empty $ parseBool s
parseQueryTerm _ ('d':'e':'p':'t':'h':':':s) = Left $ Depth $ readDef 0 s
parseQueryTerm _ ('s':'y':'m':':':s) = Left $ Sym s
parseQueryTerm _ ('c':'u':'r':':':s) = Left $ Sym s -- support cur: as an alias
parseQueryTerm _ ('t':'a':'g':':':s) = Left $ Tag n v where (n,v) = parseTag s
parseQueryTerm _ "" = Left $ Any