aboutsummaryrefslogtreecommitdiff
path: root/src/fix-ng/fix.sdf
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-10-30 16:10:20 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-10-30 16:10:20 +0000
commit933b3f677d0338b264d4e758f8932bb7f2454c46 (patch)
treee3242ea470ebe934f51cbcd67822f5001fd56337 /src/fix-ng/fix.sdf
parentb95a3dc45bcbbe8a0985bab82146ed00afcf0239 (diff)
* Attribute selection operator.
Diffstat (limited to 'src/fix-ng/fix.sdf')
-rw-r--r--src/fix-ng/fix.sdf6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fix-ng/fix.sdf b/src/fix-ng/fix.sdf
index 72f3e694d..e94e69674 100644
--- a/src/fix-ng/fix.sdf
+++ b/src/fix-ng/fix.sdf
@@ -53,9 +53,13 @@ exports
"[" {Expr ","}* "]"
-> Expr {cons("List")}
+ Expr "." Id
+ -> Expr {cons("Select")}
+
context-free priorities
- Expr Expr -> Expr
+ Expr "." Id -> Expr
+ > Expr Expr -> Expr
> "{" {Id ","}* "}" ":" Expr -> Expr