*simplified code.
This commit is contained in:
parent
f6d17ef9cf
commit
a6aeab3ad8
@ -4811,8 +4811,7 @@ static int _parse_char(mb_interpreter_t* s, char c, int pos, unsigned short row,
|
|||||||
context->current_char = c;
|
context->current_char = c;
|
||||||
|
|
||||||
if(context->parsing_state == _PS_NORMAL) {
|
if(context->parsing_state == _PS_NORMAL) {
|
||||||
if(c >= 'a' && c <= 'z')
|
c = toupper(c);
|
||||||
c += 'A' - 'a';
|
|
||||||
|
|
||||||
if(_is_blank(c)) { /* \t ' ' */
|
if(_is_blank(c)) { /* \t ' ' */
|
||||||
_mb_check(result = _cut_symbol(s, pos, row, col), _exit);
|
_mb_check(result = _cut_symbol(s, pos, row, col), _exit);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user