Skip to content
Snippets Groups Projects
Commit 1ee69446 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added a catch.

Rev: lib/modules/Crypto.pmod:1.2
parent 7340fc52
Branches
Tags
No related merge requests found
...@@ -7,8 +7,11 @@ ...@@ -7,8 +7,11 @@
mixed `[](string name) mixed `[](string name)
{ {
// return (::`[](name) || ((program) ("Crypto/" + name))); // return (::`[](name) || ((program) ("Crypto/" + name)));
catch {
return (_Crypto[name] return (_Crypto[name]
|| ((program) ("Crypto/" + name)) || ((program) ("Crypto/" + name))
|| ((object) ("Crypto/" + name + ".pmod"))); || ((object) ("Crypto/" + name + ".pmod")));
};
return 0;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment