diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-22 11:56:46 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-22 11:56:46 -0700 |
| commit | e4660b169c14d24c3ec373b197e8b9469d200d50 (patch) | |
| tree | b9576e166caf1dcb994b7fe9162baa1a6a97756e /lib/secrets.nom | |
| parent | 6882862d0ff226d73bc6a010d335896c44d8cde9 (diff) | |
Renamed compiler -> nomsu for concision and clarity.
Diffstat (limited to 'lib/secrets.nom')
| -rw-r--r-- | lib/secrets.nom | 6 |
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 |
