diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-30 15:10:37 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-30 15:11:18 -0800 |
| commit | 056357162551993e3e7d3a0ac778ed46aafdc083 (patch) | |
| tree | 1ef81cd3df6b1125e65d514f22fc4396bd99ec76 /lib/metaprogramming.nom | |
| parent | d7abcba34db025876ad1922a71c8cba2449b867f (diff) | |
Overhaul of indentations. Now strictly requiring exactly 4 spaces
everywhere, and supporting indented string interpolations.
Diffstat (limited to 'lib/metaprogramming.nom')
| -rw-r--r-- | lib/metaprogramming.nom | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/metaprogramming.nom b/lib/metaprogramming.nom index 8f2bde9..c6bf491 100644 --- a/lib/metaprogramming.nom +++ b/lib/metaprogramming.nom @@ -98,13 +98,13 @@ immediately action [remove action %stub] lua> ".." - local fn = ACTIONS[\%stub]; + local fn = ACTION[\%stub]; local metadata = ACTION_METADATA[fn]; for i=#metadata.aliases,1,-1 do metadata.arg_orders[metadata.aliases[i]] = nil; table.remove(metadata.aliases, i); end - ACTIONS[\%stub] = nil; + ACTION[\%stub] = nil; immediately action [%tree as lua] @@ -141,7 +141,7 @@ immediately compile [%var as lua identifier] to {expr:"nomsu:var_to_lua_identifier(\(%var as lua expr))"} action [action %names metadata] - =lua "ACTION_METADATA[ACTIONS[\%names]]" + =lua "ACTION_METADATA[ACTION[\%names]]" # Get the source code for a function action [help %action] |
