minor fix

This commit is contained in:
Richard Thier 2024-09-25 23:46:27 +02:00
parent ae1ef64838
commit ea2745da22

View File

@ -350,14 +350,14 @@ static inline void slc(
// TODO: Count line numbers // TODO: Count line numbers
// TODO: Handle/count indentation for better error messages // TODO: Handle/count indentation for better error messages
int comment_i = 0;
int multiline_i = 0;
uint8_t c = 0; uint8_t c = 0;
while(((c = code_src()) != 0)) { while(((c = code_src()) != 0)) {
process_char: process_char:
switch(state) { switch(state) {
case SLC_START: case SLC_START:
int comment_i = 0;
int multiline_i = 0;
int def_name_i = 0;
/* state -> comment | multiline_comment */ /* state -> comment | multiline_comment */
state = slc_comment_statechange_in( state = slc_comment_statechange_in(
state, state,