diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-25 17:34:49 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-25 17:36:05 -0800 |
| commit | c79bea44016daf43f05300b772011b14125fa0df (patch) | |
| tree | 10dbbc3bef495662be829b73893660622bd2d2c1 /lib/class.nom | |
| parent | f769351556cceed58ab6bf844c671114ec1862c2 (diff) | |
Overhaul of compiling API (eliminated some of the expr/statements
helpers and forced the use of {expr=..., locals=...}-type syntax. This
helped fix up all of the cases like loops where locals were being
mishandled and led to some cleaner code.
Diffstat (limited to 'lib/class.nom')
| -rw-r--r-- | lib/class.nom | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class.nom b/lib/class.nom index e65fb81..b7506f3 100644 --- a/lib/class.nom +++ b/lib/class.nom @@ -57,7 +57,7 @@ compile [object %classname %class_body] to body_lua, repr(names), repr(\%line:get_line_no()), table.concat(args, ", "), repr(repr(stub)), table.concat(arg_nomsus, ".."), - repr(nomsu:dedent(\%line.src)), + repr(nomsu:dedent(\%line:get_src())), \%class_identifier, repr(stub), repr(stub))); return ".." |
