equal
deleted
inserted
replaced
1964 * Since the deref_operator_c may be used inside structures, we must narrow it here, if possible! |
1964 * Since the deref_operator_c may be used inside structures, we must narrow it here, if possible! |
1965 */ |
1965 */ |
1966 if (symbol->candidate_datatypes.size() == 1) |
1966 if (symbol->candidate_datatypes.size() == 1) |
1967 // narrow the symbol->datatype for this symbol as explained above! |
1967 // narrow the symbol->datatype for this symbol as explained above! |
1968 symbol->datatype = symbol->candidate_datatypes[0]; |
1968 symbol->datatype = symbol->candidate_datatypes[0]; |
|
1969 |
|
1970 /* Since the deref_operator_c may be used inside structures, we must handle set the 'scope' annotation here too! */ |
|
1971 symbol->scope = symbol->exp->scope; |
1969 |
1972 |
1970 return NULL; |
1973 return NULL; |
1971 } |
1974 } |
1972 |
1975 |
1973 |
1976 |