Skip to content

Commit

Permalink
Merge pull request #2181 from kbsletten/remove-unused-_loadString-par…
Browse files Browse the repository at this point in the history
…ameter

Remove unused  `_loadString` parameter
  • Loading branch information
parrt authored Feb 8, 2018
2 parents 4cca8cd + 6e5155c commit 7a2b95a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,5 @@ YYYY/MM/DD, github id, Full name, email
2017/12/01, DavidMoraisFerreira, David Morais Ferreira, david.moraisferreira@gmail.com
2017/12/01, SebastianLng, Sebastian Lang, sebastian.lang@outlook.com
2017/12/03, oranoran, Oran Epelbaum, oran / epelbaum me
2017/12/20, kbsletten, Kyle Sletten, kbsletten@gmail.com
2017/12/27, jkmar, Jakub Marciniszyn, marciniszyn.jk@gmail.com
2 changes: 1 addition & 1 deletion runtime/JavaScript/src/antlr4/InputStream.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require('./polyfills/fromcodepoint');

// Vacuum all input from a string and then treat it like a buffer.

function _loadString(stream, decodeToUnicodeCodePoints) {
function _loadString(stream) {
stream._index = 0;
stream.data = [];
if (stream.decodeToUnicodeCodePoints) {
Expand Down

0 comments on commit 7a2b95a

Please sign in to comment.