aboutsummaryrefslogtreecommitdiff
path: root/lib/secrets.nom
diff options
context:
space:
mode:
Diffstat (limited to 'lib/secrets.nom')
-rw-r--r--lib/secrets.nom6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/secrets.nom b/lib/secrets.nom
index 5d9551f..052ee6c 100644
--- a/lib/secrets.nom
+++ b/lib/secrets.nom
@@ -20,14 +20,14 @@ macro [secret %key, secret value of %key, secret value for %key] =:
macro block [secret %key = %new_value] =:
lua block ".."
|if vars.key.type ~= "Var" then
- | compiler:error("Assignment operation has the wrong type for the left hand side. "
+ | nomsu:error("Assignment operation has the wrong type for the left hand side. "
| .."Expected Var, but got: "..vars.key.type)
|end
|if vars.new_value.type ~= "Thunk" then
- | compiler:error("Assignment operation has the wrong type for the right hand side. "
+ | nomsu:error("Assignment operation has the wrong type for the right hand side. "
| .."Expected Thunk, but got: "..vars.new_value.type.."\\nMaybe you used '=' instead of '=:'?")
|end
".."
|local ret
- |\lua expr "compiler:tree_to_lua(vars.new_value.value)"\
+ |\lua expr "nomsu:tree_to_lua(vars.new_value.value)"\
|secrets[\repr (%key's "value")\] = ret