From e4660b169c14d24c3ec373b197e8b9469d200d50 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 22 Sep 2017 11:56:46 -0700 Subject: Renamed compiler -> nomsu for concision and clarity. --- lib/secrets.nom | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/secrets.nom') 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 -- cgit v1.2.3