diff options
author | daurnimator <quae@daurnimator.com> | 2017-12-10 02:08:53 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-12-10 02:36:36 +1100 |
commit | 562ad6f874564c3770d096711f443b49f59ef686 (patch) | |
tree | 910d919dcee89c71eaeeec8465152add19dc4e9f /src/ldump.js | |
parent | 54c4a6a66778466630cca7a9223c760942c7ab70 (diff) | |
download | fengari-562ad6f874564c3770d096711f443b49f59ef686.tar.gz fengari-562ad6f874564c3770d096711f443b49f59ef686.tar.bz2 fengari-562ad6f874564c3770d096711f443b49f59ef686.zip |
src/: Fix some linter complaints
Diffstat (limited to 'src/ldump.js')
-rw-r--r-- | src/ldump.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/ldump.js b/src/ldump.js index 3ab0e47..8b9b1ff 100644 --- a/src/ldump.js +++ b/src/ldump.js @@ -164,18 +164,18 @@ const DumpFunction = function(f, psource, D) { }; const DumpHeader = function(D) { - DumpLiteral(defs.LUA_SIGNATURE, D); - DumpByte(LUAC_VERSION, D); - DumpByte(LUAC_FORMAT, D); - let cdata = LUAC_DATA.split('').map(e => e.charCodeAt(0)); - DumpBlock(cdata, cdata.length, D); - DumpByte(4, D); // intSize - DumpByte(4, D); // size_tSize - DumpByte(4, D); // instructionSize - DumpByte(4, D); // integerSize - DumpByte(8, D); // numberSize - DumpInteger(LUAC_INT, D); - DumpNumber(LUAC_NUM, D); + DumpLiteral(defs.LUA_SIGNATURE, D); + DumpByte(LUAC_VERSION, D); + DumpByte(LUAC_FORMAT, D); + let cdata = LUAC_DATA.split('').map(e => e.charCodeAt(0)); + DumpBlock(cdata, cdata.length, D); + DumpByte(4, D); // intSize + DumpByte(4, D); // size_tSize + DumpByte(4, D); // instructionSize + DumpByte(4, D); // integerSize + DumpByte(8, D); // numberSize + DumpInteger(LUAC_INT, D); + DumpNumber(LUAC_NUM, D); }; /* |