Skip to content

Commit 4bd6724

Browse files
committed
[examples/lexer.c] add support for multiplication
1 parent c8ede46 commit 4bd6724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/lexer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void lex(void* input_void) {
3939
} break;
4040

4141
// Operators
42-
case '+': case '-': {
42+
case '*': case '+': case '-': {
4343
token_kind = TK_OP;
4444
token_value.tk_op = *input;
4545
} break;

0 commit comments

Comments
 (0)