Generic handler for two-character operators
| 115 | |
| 116 | // Generic handler for two-character operators |
| 117 | static int TwoCharOperator(const char** str, char c1, char c2, int op) |
| 118 | { |
| 119 | if (next == c1 && **str == c2) |
| 120 | { |
| 121 | scan(str); |
| 122 | return op; |
| 123 | } |
| 124 | else |
| 125 | { |
| 126 | return 0; |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | // Determines if a character is a flag |
| 131 | static int isFlag(char c) |
no test coverage detected