fix tok loc
This commit is contained in:
parent
697e928802
commit
3052ab05cd
@ -60,7 +60,7 @@ export function tokenize(cx: Cx, fileId: number) {
|
||||
col += match[0].length;
|
||||
}
|
||||
|
||||
if (rule.ignore) continue;
|
||||
if (rule.ignore) break;
|
||||
|
||||
const tok: Tok = {
|
||||
type: id,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user