diff options
author | Zack Weinberg <zackw@stanford.edu> | 2001-03-07 01:32:01 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-03-07 01:32:01 +0000 |
commit | cc937581390c3aebf39e5f36b61f6b6098b8a236 (patch) | |
tree | 6fd6ae80f761d7e077d853c2bbffc740946a5e0d /gcc/cppmacro.c | |
parent | 8b44d68f7b41308b3ea5b66642352c6fc8946093 (diff) | |
download | gcc-cc937581390c3aebf39e5f36b61f6b6098b8a236.zip gcc-cc937581390c3aebf39e5f36b61f6b6098b8a236.tar.gz gcc-cc937581390c3aebf39e5f36b61f6b6098b8a236.tar.bz2 |
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
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 2390ee43..7d20f1c 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -291,8 +291,7 @@ stringify_arg (pfile, arg) unsigned int len = cpp_token_len (token); escape_it = (token->type == CPP_STRING || token->type == CPP_WSTRING - || token->type == CPP_CHAR || token->type == CPP_WCHAR - || token->type == CPP_OSTRING); + || token->type == CPP_CHAR || token->type == CPP_WCHAR); if (escape_it) /* Worst case is each char is octal. */ |