Commit 89ab8897 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2005-03-14 20:05:53 by beppe] Added back boolean connective "or" as equivalente to "||" Not

restricted to select only.

Original author: beppe
Date: 2005-03-14 20:05:53+00:00
parent d2e9937d
...@@ -216,7 +216,7 @@ EXTEND ...@@ -216,7 +216,7 @@ EXTEND
| "if" | "then" | "else" | "if" | "then" | "else"
| "transform" | "fun" | "in" | "transform" | "fun" | "in"
| "let" | "type" | "debug" | "include" | "let" | "type" | "debug" | "include"
| "and" | "validate" | "schema" | "namespace" | "ref" | "alias" | "and" | "or" | "validate" | "schema" | "namespace" | "ref" | "alias"
| "not" | "as" | "where" | "select" | "from" | "not" | "as" | "where" | "select" | "from"
] ]
-> a -> a
...@@ -273,7 +273,7 @@ EXTEND ...@@ -273,7 +273,7 @@ EXTEND
| |
[ e1 = expr; op = ["+" | "-" | "@" ]; e2 = expr -> apply_op2 loc op e1 e2 [ e1 = expr; op = ["+" | "-" | "@" ]; e2 = expr -> apply_op2 loc op e1 e2
| e1 = expr; "||"; e2 = expr -> exp loc (logical_or e1 e2) | e1 = expr; ["||" | "or"]; e2 = expr -> exp loc (logical_or e1 e2)
| e = expr; "\\"; l = [IDENT | keyword ] -> | e = expr; "\\"; l = [IDENT | keyword ] ->
exp loc (RemoveField (e, label l)) exp loc (RemoveField (e, label l))
] ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment