generic*/
| 254 | |
| 255 | /*generic*/ |
| 256 | const char * iiTwoOps(int t) |
| 257 | { |
| 258 | if (t<127) |
| 259 | { |
| 260 | STATIC_VAR char ch[2]; |
| 261 | switch (t) |
| 262 | { |
| 263 | case '&': |
| 264 | return "and"; |
| 265 | case '|': |
| 266 | return "or"; |
| 267 | default: |
| 268 | ch[0]=t; |
| 269 | ch[1]='\0'; |
| 270 | return ch; |
| 271 | } |
| 272 | } |
| 273 | switch (t) |
| 274 | { |
| 275 | case COLONCOLON: return "::"; |
| 276 | case DOTDOT: return ".."; |
| 277 | //case PLUSEQUAL: return "+="; |
| 278 | //case MINUSEQUAL: return "-="; |
| 279 | case MINUSMINUS: return "--"; |
| 280 | case PLUSPLUS: return "++"; |
| 281 | case EQUAL_EQUAL: return "=="; |
| 282 | case LE: return "<="; |
| 283 | case GE: return ">="; |
| 284 | case NOTEQUAL: return "<>"; |
| 285 | default: return Tok2Cmdname(t); |
| 286 | } |
| 287 | } |
| 288 | // |
| 289 | // automatic conversions: |
| 290 | // |
no test coverage detected