ref: ccf14d4ab5e4b041c3f5ebc2edc8c862f549f9bf
parent: 5b86924fe10f42876556676f47eda58d1a1de56d
author: Tor Andersson <[email protected]>
date: Fri Feb 14 05:49:07 EST 2014
Fix bug in comment lexing.
--- a/jslex.c
+++ b/jslex.c
@@ -219,7 +219,7 @@
/* already consumed initial '/' '*' sequence */
while (PEEK != 0) {
if (ACCEPT('*')) {
- while (ACCEPT('*'))
+ while (PEEK == '*')
NEXT();
if (ACCEPT('/'))
return 0;