case st_soh:
if ( ch == '#' )
- state = st_sohc;
+ st.state = st_sohc;
else
- state = st_init;
+ st.state = st_init;
break;
case st_sohc:
int n = (unsigned char)ch - '0';
if (n < 10) {
st.param[0] = n*10;
- state = st_sohc1;
+ st.state = st_sohc1;
} else {
- state = st_init;
+ st.state = st_init;
}
}
break;
st.param[0] += n;
/* Emulate the appropriate CSI m sequence */
if (st.param[0] < console_color_table_size) {
- state = st_csi;
+ st.state = st_csi;
for (p = console_color_table[st.param[0]]; *p; p++)
ansicon_putchar(*p);
ansicon_putchar('m');
}
}
- state = st_init;
+ st.state = st_init;
}
break;
}