|
@@ -2168,7 +2168,7 @@ let macro_lib =
|
|
match s with
|
|
match s with
|
|
| VString s ->
|
|
| VString s ->
|
|
(match (get_ctx()).curapi.get_type s with
|
|
(match (get_ctx()).curapi.get_type s with
|
|
- | None -> failwith ("Type not found '" ^ s ^ "'")
|
|
|
|
|
|
+ | None -> VNull
|
|
| Some t -> encode_type t)
|
|
| Some t -> encode_type t)
|
|
| _ -> error()
|
|
| _ -> error()
|
|
);
|
|
);
|