]> gcc.gnu.org Git - gcc.git/commit
c-parse.in (yylexname): New function, split out of _yylex.
authorZack Weinberg <zackw@stanford.edu>
Wed, 7 Mar 2001 01:32:01 +0000 (01:32 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Wed, 7 Mar 2001 01:32:01 +0000 (01:32 +0000)
commitcc937581390c3aebf39e5f36b61f6b6098b8a236
tree6fd6ae80f761d7e077d853c2bbffc740946a5e0d
parent8b44d68f7b41308b3ea5b66642352c6fc8946093
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/ChangeLog
gcc/c-lex.c
gcc/c-parse.in
gcc/cp/ChangeLog
gcc/cp/spew.c
gcc/cpplex.c
gcc/cpplib.h
gcc/cppmacro.c
This page took 0.064614 seconds and 5 git commands to generate.