Skip to content

Commit c318bea

Browse files
committed
Fix implicit fallthrough warning in scanner.c
1 parent 1ad3e68 commit c318bea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/compiler/lexer/scanner.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ static PxTokenType identifierType(Scanner *scanner) {
369369
return checkKeyword(scanner, 2, 0, "", TOKEN_IS);
370370
}
371371
}
372+
break;
372373
case 'k':
373374
if (scanner->current - scanner->start > 1) {
374375
switch(scanner->start[1]) {

0 commit comments

Comments
 (0)