Dependency ordering
[hcoop/domtool2.git] / src / ast.sml
index efc2fb0..29d7cb2 100644 (file)
@@ -95,8 +95,9 @@ datatype decl' =
         DExternType of string
        | DExternVal of string * typ
        | DVal of string * typ option * exp
         DExternType of string
        | DExternVal of string * typ
        | DVal of string * typ option * exp
+       | DContext of string
 type decl = decl' * string option * position
 
 type decl = decl' * string option * position
 
-type file = decl list * exp option
+type file = string option * decl list * exp option
 
 end
 
 end