@@ -249,7 +249,7 @@ void EXPcleanup( void ) {
249249
250250/**
251251 * \param selection the Type to look in (i.e. an enum)
252- * \param ref the Symbol to be found
252+ * \param sref the Symbol to be found
253253 * \param e set to the Expression found, when an enum is found
254254 * \param v set to the Variable found, when a variable is found
255255 * \param dt set to DICT_type when a match is found (use to determine whether to use e or v)
@@ -258,7 +258,7 @@ void EXPcleanup( void ) {
258258 * there will be no ambiguities, since we're looking at (and marking)
259259 * only types, and it's marking only entities
260260 */
261- static int EXP_resolve_op_dot_fuzzy ( Type selection , Symbol ref , Expression * e ,
261+ static int EXP_resolve_op_dot_fuzzy ( Type selection , Symbol sref , Expression * e ,
262262 Variable * v , char * dt , struct Symbol_ * * where , int s_id ) {
263263 Expression item ;
264264 Variable tmp ;
@@ -272,7 +272,7 @@ static int EXP_resolve_op_dot_fuzzy( Type selection, Symbol ref, Expression * e,
272272 switch ( selection -> u .type -> body -> type ) {
273273 case entity_ :
274274 tmp = ENTITYfind_inherited_attribute ( selection -> u .type -> body -> entity ,
275- ref .name , & w );
275+ sref .name , & w );
276276 if ( tmp ) {
277277 if ( w != NULL ) {
278278 * where = w ;
@@ -286,7 +286,7 @@ static int EXP_resolve_op_dot_fuzzy( Type selection, Symbol ref, Expression * e,
286286 case select_ :
287287 selection -> search_id = s_id ;
288288 LISTdo ( selection -> u .type -> body -> list , t , Type )
289- if ( EXP_resolve_op_dot_fuzzy ( t , ref , e , v , dt , & w , s_id ) ) {
289+ if ( EXP_resolve_op_dot_fuzzy ( t , sref , e , v , dt , & w , s_id ) ) {
290290 if ( w != NULL ) {
291291 * where = w ;
292292 }
@@ -304,7 +304,7 @@ static int EXP_resolve_op_dot_fuzzy( Type selection, Symbol ref, Expression * e,
304304 return 1 ;
305305 }
306306 case enumeration_ :
307- item = ( Expression )DICTlookup ( TYPEget_enum_tags ( selection ), ref .name );
307+ item = ( Expression )DICTlookup ( TYPEget_enum_tags ( selection ), sref .name );
308308 if ( item ) {
309309 * e = item ;
310310 * dt = DICT_type ;
@@ -482,7 +482,7 @@ Type EXPresolve_op_dot( Expression expr, Scope scope ) {
482482 * there will be no ambiguities, since we're looking at (and marking)
483483 * only types, and it's marking only entities
484484 */
485- static int EXP_resolve_op_group_fuzzy ( Type selection , Symbol ref , Entity * e ,
485+ static int EXP_resolve_op_group_fuzzy ( Type selection , Symbol sref , Entity * e ,
486486 int s_id ) {
487487 Entity tmp ;
488488 int options = 0 ;
@@ -494,7 +494,7 @@ static int EXP_resolve_op_group_fuzzy( Type selection, Symbol ref, Entity * e,
494494 switch ( selection -> u .type -> body -> type ) {
495495 case entity_ :
496496 tmp = ( Entity )ENTITYfind_inherited_entity (
497- selection -> u .type -> body -> entity , ref .name , 1 );
497+ selection -> u .type -> body -> entity , sref .name , 1 );
498498 if ( tmp ) {
499499 * e = tmp ;
500500 return 1 ;
@@ -505,7 +505,7 @@ static int EXP_resolve_op_group_fuzzy( Type selection, Symbol ref, Entity * e,
505505 tmp = * e ;
506506 selection -> search_id = s_id ;
507507 LISTdo ( selection -> u .type -> body -> list , t , Type )
508- if ( EXP_resolve_op_group_fuzzy ( t , ref , e , s_id ) ) {
508+ if ( EXP_resolve_op_group_fuzzy ( t , sref , e , s_id ) ) {
509509 if ( * e != tmp ) {
510510 tmp = * e ;
511511 ++ options ;
0 commit comments