4553 } |
4553 } |
4554 } |
4554 } |
4555 |
4555 |
4556 //---------------------------ensure_start_of_line------------------------------ |
4556 //---------------------------ensure_start_of_line------------------------------ |
4557 // A preprocessor directive has been encountered. Be sure it has fallen at |
4557 // A preprocessor directive has been encountered. Be sure it has fallen at |
4558 // the begining of a line, or else report an error. |
4558 // the beginning of a line, or else report an error. |
4559 void ADLParser::ensure_start_of_line(void) { |
4559 void ADLParser::ensure_start_of_line(void) { |
4560 if (_curchar == '\n') { next_line(); return; } |
4560 if (_curchar == '\n') { next_line(); return; } |
4561 assert( _ptr >= _curline && _ptr < _curline+strlen(_curline), |
4561 assert( _ptr >= _curline && _ptr < _curline+strlen(_curline), |
4562 "Must be able to find which line we are in" ); |
4562 "Must be able to find which line we are in" ); |
4563 |
4563 |