diff --git a/src/utils/lezer-mips/stream-lang.ts b/src/utils/lezer-mips/stream-lang.ts index c9160d1..bbdf121 100644 --- a/src/utils/lezer-mips/stream-lang.ts +++ b/src/utils/lezer-mips/stream-lang.ts @@ -322,7 +322,7 @@ const sl = StreamLanguage.define({ }, token(stream, state) { const item = readItem(stream, state.initial) - if (!item) { + if (item == undefined) { return null } state.initial = item === TokenType.Label