comparison src/share/vm/adlc/adlparse.cpp @ 605:98cb887364d3

6810672: Comment typos Summary: I have collected some typos I have found while looking at the code. Reviewed-by: kvn, never
author twisti
date Fri, 27 Feb 2009 13:27:09 -0800
parents dbbe28fc66b5
children 7bb995fbd3c0
comparison
equal deleted inserted replaced
604:ec59443af135 605:98cb887364d3
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