refactor some of the multi keyword/ multiword typename parsing
This commit is contained in:
parent
247c7a26b7
commit
b0f1e044b4
4 changed files with 99 additions and 54 deletions
tools/Language/SQL/SimpleSQL
|
@ -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")
|
||||
> ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue