- switch (buf[1]) {
- case 'n':
- if (strcmp(buf, "endif") == 0)
- cx.x_token = T_ENDIF;
- break;
- case 'l':
- if (strcmp(buf, "else") == 0)
- cx.x_token = T_ELSE;
- if (strcmp(buf, "elsif") == 0)
+ if (buf[1] == 'n' && buf[2] == 'd'
+ && buf[3] == 'i' && buf[4] == 'f'
+ && buf[5] == 0)
+ cx.x_token = T_ENDIF;
+ else if (buf[1] == 'l' && buf[2] == 's')
+ if (buf[3] == 'i' && buf[4] == 'f'
+ && buf[5] == 0)