diff options
Diffstat (limited to 'src/corify.sml')
-rw-r--r-- | src/corify.sml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/corify.sml b/src/corify.sml index 60baf903..6e893da2 100644 --- a/src/corify.sml +++ b/src/corify.sml @@ -806,6 +806,8 @@ structure St : sig end | _ => raise Fail "Non-const signature for 'export'") + | L.DTable _ => raise Fail "Corify DTable" + and corifyStr ((str, _), st) = case str of L.StrConst ds => @@ -855,7 +857,8 @@ fun maxName ds = foldl (fn ((d, _), n) => | L.DSgn (_, n', _) => Int.max (n, n') | L.DStr (_, n', _, str) => Int.max (n, Int.max (n', maxNameStr str)) | L.DFfiStr (_, n', _) => Int.max (n, n') - | L.DExport _ => n) + | L.DExport _ => n + | L.DTable (_, _, n', _) => Int.max (n, n')) 0 ds and maxNameStr (str, _) = |