diff options
Diffstat (limited to 'src/llex.js')
-rw-r--r-- | src/llex.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/llex.js b/src/llex.js index da15b2f..703db49 100644 --- a/src/llex.js +++ b/src/llex.js @@ -500,6 +500,7 @@ const llex = function(ls, seminfo) { ls.buff.buffer = []; for (;;) { + assert(typeof ls.current == "number"); switch (ls.current) { case char['\n']: case char['\r']: { /* line breaks */ inclinenumber(ls); |