2 * (c) Oleg Puchinin 2006
3 * graycardinalster@gmail.com
7 char t_op (char ** d_in
, char ** d_prev
, bool b_no_operators
)
9 bool b_instring
= false;
10 int brace_depth
= 0; // for '(' !
20 if (*d_ptr
== '\'' || *d_ptr
== '\"') {
21 if (b_instring
&& *d_ptr
!= ch_last
) {
27 if (d_ptr
[-1] == '\\') {
29 while (d_ptr
[-(slash_count
)] == '\\') // Yes, I'm don't like this.
59 if (b_no_operators
&& (*d_ptr
== '{' || *d_ptr
== '}' || *d_ptr
== '\n')) {
67 if (d_ptr
[0] == '{' ||
75 d_ptr
++; // Skip space