2 * (c) Oleg Puchinin 2006.
3 * graycardinalster@gmail.com
11 DArray
* split_to_words (char * d_op
)
13 DArray
* d_Ret
= new DArray (16);
14 char * d_old
= strdup (d_op
);
20 if (d_Ret
== NULL
|| d_old
== NULL
)
31 if (!(if_abc(d_end
) ||
42 goto split_to_words_L1
;
51 while (*S
&& *S
== ' ')
55 d_Ret
->add (LPCHAR(new_cword (S
, ch
)));
60 if (ch
== '\"' || ch
== '\'') {
62 d_end
= sstrend (d_end
);
63 assert (d_end
== NULL
, "Lena 1");
64 if (*d_end
== '\0' || *(++d_end
) == '\0')