| 261 | } |
| 262 | |
| 263 | static int GetChar(Context* context) |
| 264 | { |
| 265 | int c = BufferGetChar(context); |
| 266 | // Ignore '\r' in order to accept DOS-lineendings |
| 267 | while (c == '\r') |
| 268 | { |
| 269 | c = BufferGetChar(context); |
| 270 | } |
| 271 | return c; |
| 272 | } |
| 273 | |
| 274 | static int SafeGetChar(Context* context) |
| 275 | { |
no test coverage detected