comparison libcpp/include/cpp-id-data.h @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children 04ced10e8804
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
23 #endif 23 #endif
24 24
25 #define UC (const unsigned char *) /* Intended use: UC"string" */ 25 #define UC (const unsigned char *) /* Intended use: UC"string" */
26 26
27 /* Chained list of answers to an assertion. */ 27 /* Chained list of answers to an assertion. */
28 struct answer GTY(()) 28 struct GTY(()) answer {
29 {
30 struct answer *next; 29 struct answer *next;
31 unsigned int count; 30 unsigned int count;
32 cpp_token GTY ((length ("%h.count"))) first[1]; 31 cpp_token GTY ((length ("%h.count"))) first[1];
33 }; 32 };
34 33
35 /* Each macro definition is recorded in a cpp_macro structure. 34 /* Each macro definition is recorded in a cpp_macro structure.
36 Variadic macros cannot occur with traditional cpp. */ 35 Variadic macros cannot occur with traditional cpp. */
37 struct cpp_macro GTY(()) 36 struct GTY(()) cpp_macro {
38 {
39 /* Parameters, if any. */ 37 /* Parameters, if any. */
40 cpp_hashnode ** GTY ((nested_ptr (union tree_node, 38 cpp_hashnode ** GTY ((nested_ptr (union tree_node,
41 "%h ? CPP_HASHNODE (GCC_IDENT_TO_HT_IDENT (%h)) : NULL", 39 "%h ? CPP_HASHNODE (GCC_IDENT_TO_HT_IDENT (%h)) : NULL",
42 "%h ? HT_IDENT_TO_GCC_IDENT (HT_NODE (%h)) : NULL"), 40 "%h ? HT_IDENT_TO_GCC_IDENT (HT_NODE (%h)) : NULL"),
43 length ("%h.paramc"))) 41 length ("%h.paramc")))
73 /* Nonzero if it has been expanded or had its existence tested. */ 71 /* Nonzero if it has been expanded or had its existence tested. */
74 unsigned int used : 1; 72 unsigned int used : 1;
75 73
76 /* Indicate which field of 'exp' is in use. */ 74 /* Indicate which field of 'exp' is in use. */
77 unsigned int traditional : 1; 75 unsigned int traditional : 1;
76
77 /* Indicate whether the tokens include extra CPP_PASTE tokens at the
78 end to track invalid redefinitions with consecutive CPP_PASTE
79 tokens. */
80 unsigned int extra_tokens : 1;
78 }; 81 };