diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-07-07 14:29:03 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-07-07 14:29:03 +0000 |
commit | 7de9cc38c319240807a7942d7cbd1b0c1933a766 (patch) | |
tree | d9356d2f4ae40764d3e91f80189ed3959eb51f8e /gcc/cpplex.c | |
parent | d199cba40a43c0a7f6487ebbbe00899b15b45380 (diff) | |
download | gcc-7de9cc38c319240807a7942d7cbd1b0c1933a766.zip gcc-7de9cc38c319240807a7942d7cbd1b0c1933a766.tar.gz gcc-7de9cc38c319240807a7942d7cbd1b0c1933a766.tar.bz2 |
system.h (UNION_INIT_ZERO): New macro for initializing union members in structs.
* system.h (UNION_INIT_ZERO): New macro for initializing union
members in structs.
* cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
From-SVN: r34904
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r-- | gcc/cpplex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpplex.c b/gcc/cpplex.c index 5f1707a..24e4712 100644 --- a/gcc/cpplex.c +++ b/gcc/cpplex.c @@ -1935,8 +1935,8 @@ spell_token (pfile, token, buffer) /* Macro expansion algorithm. TODO. */ -static const cpp_token placemarker_token = {0, 0, CPP_PLACEMARKER, 0, {0}}; -static const cpp_token eof_token = {0, 0, CPP_EOF, 0, {0}}; +static const cpp_token placemarker_token = {0, 0, CPP_PLACEMARKER, 0 UNION_INIT_ZERO}; +static const cpp_token eof_token = {0, 0, CPP_EOF, 0 UNION_INIT_ZERO}; #define IS_ARG_CONTEXT(c) ((c)->flags & CONTEXT_ARG) #define CURRENT_CONTEXT(pfile) ((pfile)->contexts + (pfile)->cur_context) |