diff options
Diffstat (limited to 'lib/configuration')
-rw-r--r-- | lib/configuration/read_conf.ml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/configuration/read_conf.ml b/lib/configuration/read_conf.ml index c3c78cc..f78ff5b 100644 --- a/lib/configuration/read_conf.ml +++ b/lib/configuration/read_conf.ml @@ -306,6 +306,10 @@ module Make (S : Decoders.Decode.S) = struct and* tab = S.field_opt_or ~default:1 "tab" S.int and* allow_missing = S.field_opt_or ~default:false "allow_missing" S.bool + and* filters = + S.field_opt_or ~default:[] "filters" + (S.list + (self#parse_expression ~eq:Int.equal ExpressionParser.column)) in S.succeed @@ -315,7 +319,7 @@ module Make (S : Decoders.Decode.S) = struct extern_key; target = { name; file; tab }; allow_missing; - match_rule = None; + filters; } (** Load the configuration for an external file to link *) |