72 |
* Cpp: read C++ file and pickup tag entries. |
* Cpp: read C++ file and pickup tag entries. |
73 |
*/ |
*/ |
74 |
void |
void |
75 |
Cpp(file) |
Cpp(const char *file) |
|
const char *file; |
|
76 |
{ |
{ |
77 |
int c, cc; |
int c, cc; |
78 |
int savelevel; |
int savelevel; |
532 |
* r) target type |
* r) target type |
533 |
*/ |
*/ |
534 |
static void |
static void |
535 |
process_attribute(target) |
process_attribute(int target) |
|
int target; |
|
536 |
{ |
{ |
537 |
int brace = 0; |
int brace = 0; |
538 |
int c; |
int c; |
564 |
* r) target type |
* r) target type |
565 |
*/ |
*/ |
566 |
static int |
static int |
567 |
function_definition(target) |
function_definition(int target) |
|
int target; |
|
568 |
{ |
{ |
569 |
int c; |
int c; |
570 |
int brace_level; |
int brace_level; |
657 |
* i) target current target |
* i) target current target |
658 |
*/ |
*/ |
659 |
static void |
static void |
660 |
condition_macro(cc, target) |
condition_macro(int cc, int target) |
|
int cc; |
|
|
int target; |
|
661 |
{ |
{ |
662 |
cur = &pifstack[piflevel]; |
cur = &pifstack[piflevel]; |
663 |
if (cc == SHARP_IFDEF || cc == SHARP_IFNDEF || cc == SHARP_IF) { |
if (cc == SHARP_IFDEF || cc == SHARP_IFNDEF || cc == SHARP_IF) { |
723 |
* r) 0: not data type, 1: data type |
* r) 0: not data type, 1: data type |
724 |
*/ |
*/ |
725 |
static int |
static int |
726 |
seems_datatype(token) |
seems_datatype(const char *token) |
|
const char *token; |
|
727 |
{ |
{ |
728 |
int length = strlen(token); |
int length = strlen(token); |
729 |
const char *p = token + length; |
const char *p = token + length; |