From c79bea44016daf43f05300b772011b14125fa0df Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 25 Jan 2018 17:34:49 -0800 Subject: 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. --- lib/class.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/class.nom') 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 ".." -- cgit v1.2.3