diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-30 17:20:22 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-05-30 17:21:19 -0700 |
| commit | b53516c47c0dd1f9325f9f721f561487510cca98 (patch) | |
| tree | 92961e19bc94eec3ab8b0f19357c57399c205b7d /core/operators.nom | |
| parent | 5637676bc45ce9aa3015726485f63a2a5745a45a (diff) | |
Simplified and correctified lib/object (though the codegen still need
streamlining), added a .stub member to Action trees, and switched
Source's repr to be @filename[start:stop] instead of
"filename[start:stop]"
Diffstat (limited to 'core/operators.nom')
| -rw-r--r-- | core/operators.nom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/operators.nom b/core/operators.nom index c3b56c6..9b6b68a 100644 --- a/core/operators.nom +++ b/core/operators.nom @@ -51,7 +51,7 @@ immediately assume %var_lua.is_value or barf "Invalid target for assignment: \%var" lua> ".." \%value = \%value:map(function(t) - if Action:is_instance(t) and t:get_stub() == "?" then + if Action:is_instance(t) and t.stub == "?" then return \%var end end) @@ -75,7 +75,7 @@ immediately for i, item in ipairs(\%assignments.value) do local \%target, \%value = item.value[1], item.value[2] \%value = \%value:map(function(t) - if Action:is_instance(t) and t:get_stub() == "?" then + if Action:is_instance(t) and t.stub == "?" then return \%target end end) |
