Skip to content

Commit 6f1f407

Browse files
author
Dnld
committed
refactors handle end of file helper function
1 parent e21d1f9 commit 6f1f407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transpiler/lexer/lexerFunctions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ module.exports = {
420420
}
421421
},
422422

423-
handleEndOfFile: function(nextCol, tokens) {
424-
if (nextCol === undefined) module.exports.makeToken(undefined, undefined, tokens, 'TERMINATOR', 'EOF');
423+
handleEndOfFile: function(col, tokens) {
424+
if (col === undefined) module.exports.makeToken(undefined, undefined, tokens, 'TERMINATOR', 'EOF');
425425
}
426426

427427
};

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy