Ticket #2500 (incorrect the word boundary detection)

fixed detection of the word boundary (added '{', '}' as end of the word).

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
This commit is contained in:
Ilia Maslakov 2011-02-16 21:14:42 +00:00
parent 9f0d38520a
commit cfad4d685b
1 changed files with 1 additions and 1 deletions

View File

@ -1005,7 +1005,7 @@ my_type_of (int c)
int x, r = 0;
const char *p, *q;
const char option_chars_move_whole_word[] =
"!=&|<>^~ !:;, !'!`!.?!\"!( !) !Aa0 !+-*/= |<> ![ !] !\\#! ";
"!=&|<>^~ !:;, !'!`!.?!\"!( !) !{ !} !Aa0 !+-*/= |<> ![ !] !\\#! ";
if (!c)
return 0;