Skip to content

Commit

Permalink
fix comment highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
milomg committed Jan 8, 2025
1 parent fb8fb02 commit 6c41423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/lezer-mips/stream-lang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c41423

Please sign in to comment.