diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2013-09-06 21:50:35 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2013-11-27 18:43:35 +0100 |
commit | 144f2ac7c7394a701808daa503a0b6ded5663fcc (patch) | |
tree | c193b3e8ba6d2650213e8c0cc4f0c52f14eedba3 /plugins/syntax | |
parent | 2923b9262e3859f2ad0169778d63d79843d7ddf7 (diff) |
Adding generic solvers to term holes. For now, no resolution mechanism nor
parsing is plugged.
Diffstat (limited to 'plugins/syntax')
-rw-r--r-- | plugins/syntax/numbers_syntax.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/syntax/numbers_syntax.ml b/plugins/syntax/numbers_syntax.ml index 1cce6cd70..b8c2b33fd 100644 --- a/plugins/syntax/numbers_syntax.ml +++ b/plugins/syntax/numbers_syntax.ml @@ -165,10 +165,10 @@ let word_of_pos_bigint dloc hght n = if hgt <= 0 then int31_of_pos_bigint dloc n else if equal n zero then - GApp (dloc, ref_W0, [GHole (dloc, Evar_kinds.InternalHole)]) + GApp (dloc, ref_W0, [GHole (dloc, Evar_kinds.InternalHole, None)]) else let (h,l) = split_at hgt n in - GApp (dloc, ref_WW, [GHole (dloc, Evar_kinds.InternalHole); + GApp (dloc, ref_WW, [GHole (dloc, Evar_kinds.InternalHole, None); decomp (hgt-1) h; decomp (hgt-1) l]) in |