diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-18 17:55:29 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-18 17:56:15 -0700 |
| commit | bf67a610135c0803187cf6ed896638962f142d14 (patch) | |
| tree | a0b126c954168282c8c69ea728d4abbae712ac33 /code_obj.lua | |
| parent | acb86f78c3f79479ac3a73f0e5862f8f5d8f31f5 (diff) | |
Updating to version 2.4.4.3, with new syntax for multi-statement 'if'
and switch statements.
Diffstat (limited to 'code_obj.lua')
| -rw-r--r-- | code_obj.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/code_obj.lua b/code_obj.lua index 37ac55a..b67e78d 100644 --- a/code_obj.lua +++ b/code_obj.lua @@ -312,12 +312,6 @@ do end return statements end, - as_expr = function(self) - if self.is_value then - return self - end - return error("Cannot convert to expression: " .. tostring(tostring(self))) - end, __tostring = function(self) if self.__str == nil then local buff, indent = { }, 0 |
