diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-29 14:57:22 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-29 14:57:56 -0800 |
| commit | efd743591e555e63dce7dd351e1e80bb38848669 (patch) | |
| tree | ae1d5d2e19288049a2773610b93a8df3cd981264 /lib/object.nom | |
| parent | 09e571ffa67935f0ed29526768863f5338f91769 (diff) | |
Renamed append/concat_append to add/concat_add for Code objects.
Diffstat (limited to 'lib/object.nom')
| -rw-r--r-- | lib/object.nom | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/object.nom b/lib/object.nom index 551512f..ca50257 100644 --- a/lib/object.nom +++ b/lib/object.nom @@ -66,11 +66,11 @@ test: local alias_name = alias.stub:as_lua_id() local \%alias_args = List(alias:get_args()) table.insert(\%alias_args, 1, \(\%me)) - lua:append("\\nclass.", alias_name, " = ") + lua:add("\\nclass.", alias_name, " = ") if \%args == \%alias_args then - lua:append("class.", fn_name) + lua:add("class.", fn_name) else - lua:append(\(what (%alias_args -> %actions.1) compiles to)) + lua:add(\(what (%alias_args -> %actions.1) compiles to)) end end return lua" |
