Update lib/jison/lexer.js #112

Closed
wants to merge 1 commit into from

3 participants

@robertleeplummerjr

Odd case where oldLines[?].length didn't exist, so return a length of 0 if there is no length.

@robertleeplummerjr robertleeplummerjr Update lib/jison/lexer.js
Odd case where oldLines[?].length didn't exist, so return a length of 0 if there is no length.
3d1a0b7
@travisbot

This pull request passes (merged 3d1a0b7 into bdc9422).

@zaach
Owner

Do you have the case for when this causes an error? I'd like to add a test case for this before fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment