From dfe6b5f2c1bde6900f81f1bb6ddc49724baa0471 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Mon, 6 Feb 2017 08:15:05 +0100 Subject: RETURN follow lua's source more accurately --- src/lfunc.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lfunc.js') diff --git a/src/lfunc.js b/src/lfunc.js index 929dae8..abc87e8 100644 --- a/src/lfunc.js +++ b/src/lfunc.js @@ -17,6 +17,7 @@ class Proto { this.linedefined = 0; // debug information this.lastlinedefined = 0; // debug information this.source = null; // used for debug information + this.nresults = 0; // expected number of results from this function } } -- cgit v1.2.3-70-g09d2