| 120 | }; |
| 121 | |
| 122 | inline void ProtoSpaceAndComments(Scanner* scanner) { |
| 123 | for (;;) { |
| 124 | scanner->AnySpace(); |
| 125 | if (scanner->Peek() != '#') return; |
| 126 | // Skip until newline. |
| 127 | while (scanner->Peek('\n') != '\n') scanner->One(Scanner::ALL); |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | // Parse the next numeric value from <scanner>, returning false if parsing |
| 132 | // failed. |
no test coverage detected