Mercurial > hg > CbC > CbC_gcc
comparison libcpp/internal.h @ 47:3bfb6c00c1e0
update it from 4.4.2 to 4.4.3.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 07 Feb 2010 17:44:34 +0900 |
parents | a06113de4d67 |
children | 77e2b8dfacca |
comparison
equal
deleted
inserted
replaced
46:b85a337e5837 | 47:3bfb6c00c1e0 |
---|---|
303 /* Descriptor for converting from the input character set to the | 303 /* Descriptor for converting from the input character set to the |
304 source character set. */ | 304 source character set. */ |
305 struct cset_converter input_cset_desc; | 305 struct cset_converter input_cset_desc; |
306 }; | 306 }; |
307 | 307 |
308 /* The list of saved macros by push_macro pragma. */ | |
309 struct def_pragma_macro { | |
310 /* Chain element to previous saved macro. */ | |
311 struct def_pragma_macro *next; | |
312 /* Name of the macro. */ | |
313 char *name; | |
314 /* The stored macro content. */ | |
315 cpp_macro *value; | |
316 }; | |
317 | |
308 /* A cpp_reader encapsulates the "state" of a pre-processor run. | 318 /* A cpp_reader encapsulates the "state" of a pre-processor run. |
309 Applying cpp_get_token repeatedly yields a stream of pre-processor | 319 Applying cpp_get_token repeatedly yields a stream of pre-processor |
310 tokens. Usually, there is only one cpp_reader object active. */ | 320 tokens. Usually, there is only one cpp_reader object active. */ |
311 struct cpp_reader | 321 struct cpp_reader |
312 { | 322 { |
472 /* Next value of __COUNTER__ macro. */ | 482 /* Next value of __COUNTER__ macro. */ |
473 unsigned int counter; | 483 unsigned int counter; |
474 | 484 |
475 /* Table of comments, when state.save_comments is true. */ | 485 /* Table of comments, when state.save_comments is true. */ |
476 cpp_comment_table comments; | 486 cpp_comment_table comments; |
487 | |
488 /* List of saved macros by push_macro. */ | |
489 struct def_pragma_macro *pushed_macros; | |
477 }; | 490 }; |
478 | 491 |
479 /* Character classes. Based on the more primitive macros in safe-ctype.h. | 492 /* Character classes. Based on the more primitive macros in safe-ctype.h. |
480 If the definition of `numchar' looks odd to you, please look up the | 493 If the definition of `numchar' looks odd to you, please look up the |
481 definition of a pp-number in the C standard [section 6.4.8 of C99]. | 494 definition of a pp-number in the C standard [section 6.4.8 of C99]. |
572 extern cpp_token *_cpp_temp_token (cpp_reader *); | 585 extern cpp_token *_cpp_temp_token (cpp_reader *); |
573 extern const cpp_token *_cpp_lex_token (cpp_reader *); | 586 extern const cpp_token *_cpp_lex_token (cpp_reader *); |
574 extern cpp_token *_cpp_lex_direct (cpp_reader *); | 587 extern cpp_token *_cpp_lex_direct (cpp_reader *); |
575 extern int _cpp_equiv_tokens (const cpp_token *, const cpp_token *); | 588 extern int _cpp_equiv_tokens (const cpp_token *, const cpp_token *); |
576 extern void _cpp_init_tokenrun (tokenrun *, unsigned int); | 589 extern void _cpp_init_tokenrun (tokenrun *, unsigned int); |
590 extern cpp_hashnode *_cpp_lex_identifier (cpp_reader *, const char *); | |
577 | 591 |
578 /* In init.c. */ | 592 /* In init.c. */ |
579 extern void _cpp_maybe_push_include_file (cpp_reader *); | 593 extern void _cpp_maybe_push_include_file (cpp_reader *); |
580 | 594 |
581 /* In directives.c */ | 595 /* In directives.c */ |