1
Fork 0

refactor some of the multi keyword/ multiword typename parsing

This commit is contained in:
Jake Wheat 2014-04-18 14:50:54 +03:00
parent 247c7a26b7
commit b0f1e044b4
4 changed files with 99 additions and 54 deletions
tools/Language/SQL/SimpleSQL

View file

@ -132,8 +132,7 @@ Tests for parsing value expressions
> unaryOperators :: TestItem
> unaryOperators = Group "unaryOperators" $ map (uncurry TestValueExpr)
> [("not a", PrefixOp "not" $ Iden "a")
> -- I think this is a missing feature or bug in parsec buildExpressionParser
> --,("not not a", PrefixOp "not" $ PrefixOp "not" $ Iden "a")
> ,("not not a", PrefixOp "not" $ PrefixOp "not" $ Iden "a")
> ,("+a", PrefixOp "+" $ Iden "a")
> ,("-a", PrefixOp "-" $ Iden "a")
> ]