(int expected)
| 342 | } |
| 343 | |
| 344 | protected int getCharExpected(int expected) throws IOException { |
| 345 | for (; ; ) { |
| 346 | int ch = getChar(); |
| 347 | if (ch == expected) return expected; |
| 348 | if (ch == ' ') continue; |
| 349 | return getCharNWS(ch); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | protected void getNewlineComment() throws IOException { |
| 354 | // read a # or a //, so go until newline |
no test coverage detected