egcs/gcc ChangeLog c-lex.c c-parse.in cpplex.c ...

zack@gcc.gnu.org zack@gcc.gnu.org
Tue Mar 6 17:19:00 GMT 2001


CVSROOT:	/cvs/gcc
Module name:	egcs
Branch: 	gcc-3_0-branch
Changes by:	zack@gcc.gnu.org	2001-03-06 17:19:56

Modified files:
	gcc            : ChangeLog c-lex.c c-parse.in cpplex.c cpplib.h 
	                 cppmacro.c 
	gcc/cp         : spew.c 
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/objc/execute: string1.m string2.m 
Added files:
	gcc/testsuite/objc/execute: string3.m string4.m 

Log message:
	* c-parse.in (yylexname): New function, split out of _yylex.
	(objc_rid_sans_at): New table.
	(init_reswords): Initialize it.
	(_yylex): Give labels clearer names.  Handle CPP_ATSIGN by
	retrieving the next token and checking it for significance as
	an ObjC keyword or string constant.
	
	* cpplex.c (_cpp_lex_token): Just return CPP_ATSIGN for '@'.
	* cpplib.h (TTYPE_TABLE): Add CPP_ATSIGN, drop CPP_OSTRING.
	
	* c-lex.c, c-parse.in, cppmacro.c, cpplex.c: Remove references
	to CPP_OSTRING.
	
	* objc/execute/string1.m, objc/execute/string2.m: Compare the
	result of -cString against what we expect it to be; don't just
	print it out for no one to read.
	
	* objc/execute/string3.m, objc/execute/string4.m: New tests.
	Based on testcases provided by Nicola Pero.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.9240.2.107&r2=1.9240.2.108
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/c-lex.c.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.129.4.1&r2=1.129.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/c-parse.in.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.82.2.1&r2=1.82.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cpplex.c.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.129.2.4&r2=1.129.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cpplib.h.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.163.2.2&r2=1.163.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cppmacro.c.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.44.2.3&r2=1.44.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cp/spew.c.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.43.4.1&r2=1.43.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.1074.2.26&r2=1.1074.2.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/objc/execute/string3.m.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/objc/execute/string4.m.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/objc/execute/string1.m.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.1&r2=1.1.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/testsuite/objc/execute/string2.m.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.1&r2=1.1.8.1



More information about the Gcc-cvs mailing list