| 86 | /*0 implementation*/ |
| 87 | |
| 88 | const char * iiTwoOps(int t) |
| 89 | { |
| 90 | if (t<127) |
| 91 | { |
| 92 | STATIC_VAR char ch[2]; |
| 93 | switch (t) |
| 94 | { |
| 95 | case '&': |
| 96 | return "and"; |
| 97 | case '|': |
| 98 | return "or"; |
| 99 | default: |
| 100 | ch[0]=t; |
| 101 | ch[1]='\0'; |
| 102 | return ch; |
| 103 | } |
| 104 | } |
| 105 | switch (t) |
| 106 | { |
| 107 | case COLONCOLON: return "::"; |
| 108 | case DOTDOT: return ".."; |
| 109 | //case PLUSEQUAL: return "+="; |
| 110 | //case MINUSEQUAL: return "-="; |
| 111 | case MINUSMINUS: return "--"; |
| 112 | case PLUSPLUS: return "++"; |
| 113 | case EQUAL_EQUAL: return "=="; |
| 114 | case LE: return "<="; |
| 115 | case GE: return ">="; |
| 116 | case NOTEQUAL: return "<>"; |
| 117 | default: return Tok2Cmdname(t); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | int iiOpsTwoChar(const char *s) |
| 122 | { |
no test coverage detected