From 57751fdb55ad04d82542165417511d26304cadc2 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <e.dolstra@tudelft.nl>
Date: Mon, 24 Jul 2006 15:16:03 +0000
Subject: * Refactoring to support domain checks.

---
 src/libexpr/nixexpr-ast.def | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'src/libexpr/nixexpr-ast.def')

diff --git a/src/libexpr/nixexpr-ast.def b/src/libexpr/nixexpr-ast.def
index a4565ab1fcc7..4a92eaebf86b 100644
--- a/src/libexpr/nixexpr-ast.def
+++ b/src/libexpr/nixexpr-ast.def
@@ -45,8 +45,13 @@ Inherit | Expr ATermList Pos | ATerm |
 
 Scope | | Expr |
 
-NoDefFormal | string | ATerm |
-DefFormal | string Expr | ATerm |
+Formal | string ValidValues DefaultValue | ATerm |
+
+ValidValues | ATermList | ValidValues |
+UnrestrictedValues | | ValidValues |
+
+DefaultValue | Expr | DefaultValue |
+NoDefaultValue | | DefaultValue |
 
 True | | ATerm |
 False | | ATerm |
-- 
cgit 1.4.1

