Commit 1ad6e4db authored by Kenichi Handa's avatar Kenichi Handa

(skip_chars): Fix for unibyte case.

parent 27615979
......@@ -1728,12 +1728,12 @@ skip_chars (forwardp, syntaxp, string, lim, handle_iso_classes)
if (negate)
break;
else
goto fwd_ok;
goto fwd_unibyte_ok;
}
if (!fastmap[*p])
break;
fwd_unibyte_ok:
p++, pos++;
}
}
......@@ -1801,12 +1801,12 @@ skip_chars (forwardp, syntaxp, string, lim, handle_iso_classes)
if (negate)
break;
else
goto fwd_ok;
goto back_unibyte_ok;
}
if (!fastmap[p[-1]])
break;
back_unibyte_ok:
p--, pos--;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment