From cc937581390c3aebf39e5f36b61f6b6098b8a236 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 7 Mar 2001 01:32:01 +0000 Subject: c-parse.in (yylexname): New function, split out of _yylex. * 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, cp/spew.c: Remove references to CPP_OSTRING. From-SVN: r40279 --- gcc/c-lex.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc/c-lex.c') diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 1af7cd6..f68ae35 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -1014,7 +1014,6 @@ c_lex (value) case CPP_STRING: case CPP_WSTRING: - case CPP_OSTRING: *value = lex_string ((const char *)tok.val.str.text, tok.val.str.len, tok.type == CPP_WSTRING); break; -- cgit v1.1