diff options
| author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-22 11:42:30 +0000 | 
|---|---|---|
| committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-22 11:42:30 +0000 | 
| commit | da4e72c7fe35d5895fbc8b90d4c777d1a703143c (patch) | |
| tree | eec4e88cf5defc14069be13e67e934ba7f9b5a69 /libjava/java/util/SortedMap.java | |
| parent | aa8fd7bcbc0d7e854395c3242ff86b771f4cf790 (diff) | |
| download | ppe42-gcc-da4e72c7fe35d5895fbc8b90d4c777d1a703143c.tar.gz ppe42-gcc-da4e72c7fe35d5895fbc8b90d4c777d1a703143c.zip | |
cp:
	PR c++/18095
	* parser.c (eof_token): Make const, correctly initialize rid and
	location fields.
	(struct cp_lexer): Replace buffer_end pointer with buffer_length
	count. Adjust.
	(cp_lexer_new_main): Directly grow lexer's buffer here.  Don't
	zero it out.
	(cp_lexer_new_from_tokens): Adjust.
	(cp_lexer_grow_buffer): Remove.
	(cp_lexer_peek_nth_token, cp_lexer_consume_token,
	cp_lexer_purge_token): Add const casts.
testsuite:
	PR c++/18095
	* g++.dg/parse/crash18.C: New.
	* g++.dg/parse/crash19.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89439 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/SortedMap.java')
0 files changed, 0 insertions, 0 deletions

