Permalink
Browse files

[enhance] compielr, syntax, database: Added syntax for exists

  • Loading branch information...
1 parent 02e8b53 commit 08681a284fe7744317b92558958f4a016f7c6123 @BourgerieQuentin BourgerieQuentin committed May 9, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 opalang/classic_syntax/parser_path.trx
@@ -205,7 +205,9 @@ query_simple_builder <-
/ (=Opa_lexer.exact_symbol("!=")) {{ fun e -> QmlAst.Db.QNe e }}
/ (=Opa_lexer.exact_ident("in")) {{ fun e -> QmlAst.Db.QIn e }}
-query_simple <- query_simple_builder:b query_expr:e {{ b e }}
+query_simple <-
+ / query_simple_builder:b query_expr:e {{ b e }}
+ / (=Opa_lexer.exact_ident("exists")) {{ QmlAst.Db.QExists true }}
query_keywords <-
/ (=Opa_lexer.exact_keyword("and"))

0 comments on commit 08681a2

Please sign in to comment.