egcs/gcc/java ChangeLog lex.c lex.h jv-scan.c

tromey@gcc.gnu.org tromey@gcc.gnu.org
Fri Nov 3 12:27:00 GMT 2000


CVSROOT:	/cvs/gcc
Module name:	egcs
Changes by:	tromey@gcc.gnu.org	2000-11-03 12:27:07

Modified files:
	gcc/java       : ChangeLog lex.c lex.h jv-scan.c 

Log message:
	* lex.h (_JAVA_IDENTIFIER_IGNORABLE): New macro.
	(JAVA_ID_CHAR_P): Also try java_ignorable_control_p.
	* lex.c (java_read_unicode): Removed `term_context' argument.
	Recognize any number of `u' in `\u'.
	(java_read_unicode_collapsing_terminators): New function.
	(java_get_unicode): Use it.
	(java_lineterminator): Removed.
	(yylex): Produce error if character literal is newline or single
	quote.  Return if eof found in middle of `//' comment.  EOF in
	`//' comment is only an error if pedantic.
	(java_ignorable_control_p): New function.
	(java_parse_end_comment): Return if eof found in middle of
	comment.
	Include flags.h.
	* jv-scan.c (pedantic): New global.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.556&r2=1.557
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/java/lex.c.diff?cvsroot=gcc&r1=1.48&r2=1.49
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/java/lex.h.diff?cvsroot=gcc&r1=1.19&r2=1.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/java/jv-scan.c.diff?cvsroot=gcc&r1=1.19&r2=1.20



More information about the Gcc-cvs mailing list