| 83 | |
| 84 | |
| 85 | PARSE * parse_make( |
| 86 | int type, |
| 87 | PARSE * left, |
| 88 | PARSE * right, |
| 89 | PARSE * third, |
| 90 | OBJECT * string, |
| 91 | OBJECT * string1, |
| 92 | int num ) |
| 93 | { |
| 94 | PARSE * p = (PARSE *)BJAM_MALLOC( sizeof( PARSE ) ); |
| 95 | |
| 96 | p->type = type; |
| 97 | p->left = left; |
| 98 | p->right = right; |
| 99 | p->third = third; |
| 100 | p->string = string; |
| 101 | p->string1 = string1; |
| 102 | p->num = num; |
| 103 | p->refs = 1; |
| 104 | p->rulename = 0; |
| 105 | |
| 106 | if ( left ) |
| 107 | { |
| 108 | p->file = object_copy( left->file ); |
| 109 | p->line = left->line; |
| 110 | } |
| 111 | else |
| 112 | { |
| 113 | yyinput_last_read_token( &p->file, &p->line ); |
| 114 | p->file = object_copy( p->file ); |
| 115 | } |
| 116 | |
| 117 | return p; |
| 118 | } |
| 119 | |
| 120 | |
| 121 | void parse_refer( PARSE * p ) |
nothing calls this directly
no test coverage detected