()
| 351 | } |
| 352 | |
| 353 | protected void getNewlineComment() throws IOException { |
| 354 | // read a # or a //, so go until newline |
| 355 | for (; ; ) { |
| 356 | int ch = getChar(); |
| 357 | // don't worry about DOS /r/n... we'll stop on the \r and let the rest of the whitespace |
| 358 | // eater consume the \n |
| 359 | if (ch == '\n' || ch == '\r' || ch == -1) { |
| 360 | return; |
| 361 | } |
| 362 | } |
| 363 | } |
| 364 | |
| 365 | protected void getSlashComment() throws IOException { |
| 366 | int ch = getChar(); |
no test coverage detected