diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-09 14:36:15 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-09 14:37:22 -0800 |
| commit | 7d2b7199d87930096b7fd799709fe0105d51eccb (patch) | |
| tree | f33de61cb44357497758bb08ec6993753d8baa43 /nomsu_environment.lua | |
| parent | ba96cdfa07cea15ada62f8f89b2563de1286a0de (diff) | |
Lots of cleanups, including expanded use of (... compiles to "text
literal") shorthand, deprecating Lua value, and more use of Lua "..."
with text interpolations.
Diffstat (limited to 'nomsu_environment.lua')
| -rw-r--r-- | nomsu_environment.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nomsu_environment.lua b/nomsu_environment.lua index 3bb54b1..4735561 100644 --- a/nomsu_environment.lua +++ b/nomsu_environment.lua @@ -164,7 +164,7 @@ local nomsu_environment = Importer({ title = "Parse error", error = e.error, hint = e.hint, - source = e:get_source_code(), + source = e:get_source_file(), start = e.source.start, stop = e.source.stop, filename = e.source.filename @@ -312,7 +312,7 @@ local nomsu_environment = Importer({ title = "Compile error", error = err_msg, hint = hint, - source = tree:get_source_code(), + source = tree:get_source_file(), start = tree.source.start, stop = tree.source.stop, filename = tree.source.filename |
