summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-07 01:32:01 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-07 01:32:01 +0000
commit9ee99ac68bb9672aca4c02e5800d6e34f34b63b4 (patch)
tree6fd6ae80f761d7e077d853c2bbffc740946a5e0d /gcc/c-lex.c
parent9d630a4a6d77daebd4a61fbccc74a7e17f506ecc (diff)
downloadgcc-9ee99ac68bb9672aca4c02e5800d6e34f34b63b4.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40279 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 1af7cd645da..f68ae35a219 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;