| 119 | } |
| 120 | |
| 121 | int iiOpsTwoChar(const char *s) |
| 122 | { |
| 123 | /* not handling: &&, ||, ** */ |
| 124 | if (s[1]=='\0') return s[0]; |
| 125 | else if (s[2]!='\0') return 0; |
| 126 | switch(s[0]) |
| 127 | { |
| 128 | case '.': if (s[1]=='.') return DOTDOT; |
| 129 | else return 0; |
| 130 | case ':': if (s[1]==':') return COLONCOLON; |
| 131 | else return 0; |
| 132 | case '-': if (s[1]=='-') return MINUSMINUS; |
| 133 | else return 0; |
| 134 | case '+': if (s[1]=='+') return PLUSPLUS; |
| 135 | else return 0; |
| 136 | case '=': if (s[1]=='=') return EQUAL_EQUAL; |
| 137 | else return 0; |
| 138 | case '<': if (s[1]=='=') return LE; |
| 139 | else if (s[1]=='>') return NOTEQUAL; |
| 140 | else return 0; |
| 141 | case '>': if (s[1]=='=') return GE; |
| 142 | else return 0; |
| 143 | case '!': if (s[1]=='=') return NOTEQUAL; |
| 144 | else return 0; |
| 145 | } |
| 146 | return 0; |
| 147 | } |
| 148 | |
| 149 | static void list1(const char* s, idhdl h,BOOLEAN c, BOOLEAN fullname) |
| 150 | { |
no outgoing calls
no test coverage detected