File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,9 +187,9 @@ function printCharCode(code) {
187187/**
188188 * Gets the next token from the source starting at the given position.
189189 *
190- * This skips over whitespace and comments until it finds the next lexable
191- * token, then lexes punctuators immediately or calls the appropriate helper
192- * function for more complicated tokens.
190+ * This skips over whitespace until it finds the next lexable token, then lexes
191+ * punctuators immediately or calls the appropriate helper function for more
192+ * complicated tokens.
193193 */
194194function readToken ( lexer : Lexer < * > , prev : Token ) : Token {
195195 const source = lexer . source ;
@@ -362,8 +362,7 @@ function unexpectedCharacterMessage(code) {
362362
363363/**
364364 * Reads from body starting at startPosition until it finds a non-whitespace
365- * or commented character, then returns the position of that character for
366- * lexing.
365+ * character, then returns the position of that character for lexing.
367366 */
368367function positionAfterWhitespace(
369368 body: string,
You can’t perform that action at this time.
0 commit comments