about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-10-30T16·10+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-10-30T16·10+0000
commit933b3f677d0338b264d4e758f8932bb7f2454c46 (patch)
treee3242ea470ebe934f51cbcd67822f5001fd56337 /src
parentb95a3dc45bcbbe8a0985bab82146ed00afcf0239 (diff)
* Attribute selection operator.
Diffstat (limited to 'src')
-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 72f3e694d02e..e94e696749f3 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