diff options
Diffstat (limited to 'lib/configuration/ast.mli')
| -rw-r--r-- | lib/configuration/ast.mli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/configuration/ast.mli b/lib/configuration/ast.mli index b014c9b..404c26e 100644 --- a/lib/configuration/ast.mli +++ b/lib/configuration/ast.mli @@ -25,6 +25,10 @@ exception BrokenLink : ('a Type.Id.t * 'a * Model.Identifier.t) -> exn (** Exception raised when a reference in the configuration targets neither an existing content nor a declared list *) +exception ConflictingFields of Model.Identifier.t * Model.Identifier.t +(** Exception raised when a content or a list declares two fields with the same + name but different types *) + val register_list : setting -> Model.list -> setting (** Register a list in the setting, replacing any previous list with the same id. Lists are registered while they are decoded, so that a list can |
