Skip to content

Commit 83b27d5

Browse files
Address @LeaVerou's feedback: Add comment
1 parent a799f1e commit 83b27d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/tokenize/match.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function _matchGrammar (text, tokenList, grammar, startNode, startPos, re
2525
!grammar.hasOwnProperty(token) ||
2626
token.startsWith('$') ||
2727
!tokenValue ||
28-
typeof tokenValue === 'function'
28+
typeof tokenValue === 'function' // functional tokens ($inside for now) are handled on L170, and we should ignore them in all other cases
2929
) {
3030
continue;
3131
}

0 commit comments

Comments
 (0)