2 * (c) Oleg Puchinin 2006
3 * graycardinalster@gmail.com
7 char * sstrend (char * d_ptr
)
9 bool t_instring
= false;
13 unsigned limit
= 1024;
24 while (*d_ptr
&& (limit
> 0)) {
25 if (*d_ptr
== '\'' || *d_ptr
== '\"') {
26 if (t_instring
&& *d_ptr
!= ch_last
) {
32 if (d_ptr
[-1] == '\\') {
34 while (d_ptr
[-(d_slash_count
)] == '\\')
37 if (d_slash_count
& 1)