src/share/vm/adlc/filebuff.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/adlc/filebuff.hpp	Mon Dec  8 17:22:53 2008
--- new/src/share/vm/adlc/filebuff.hpp	Mon Dec  8 17:22:52 2008

*** 66,75 **** --- 66,76 ---- // This returns a pointer to the start of the current line in the buffer, // and increments bufeol and filepos to point at the end of that line. char *get_line(void); int linenum() const { return _linenum; } + void set_linenum(int line) { _linenum = line; } // This converts a pointer into the buffer to a file offset. It only works // when the pointer is valid (i.e. just obtained from getline()). int getoff(const char *s) { return _bufoff+(int)(s-_buf); } };

src/share/vm/adlc/filebuff.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File