Fixes #965 - edge case in parsing comment endings.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Sat, 2 Sep 2017 18:01:43 +0000 (20:01 +0200)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Sat, 2 Sep 2017 18:46:21 +0000 (20:46 +0200)
commit35349a643320bc96996c3318a8374ac0bd7f1cb9
tree2da72b2f60b0a69c638275d8c9510274c389b648
parentf4f54cfd2905f2bd66708a25b697b17740440633
Fixes #965 - edge case in parsing comment endings.

This is an edge case when a comment is closed twice leading to the
second end marker leaking to the next token.
History.md
lib/tokenizer/tokenize.js
test/tokenizer/tokenize-test.js