$$ = newLink() ;
$$->class = SPECIFIER ;
FUNC_REGBANK($$) = (int) floatFromVal($2);
- //FUNC_RBANK($$) = 1;
}
| REENTRANT { $$ = newLink ();
$$->class = SPECIFIER ;
declarator2_function_attributes
: declarator2 { $$ = $1 ; }
| declarator2 function_attribute {
- // do the functionAttributes (not the args and hasVargs !!)
+ // copy the functionAttributes (not the args and hasVargs !!)
sym_link *funcType=$1->etype;
struct value *args=FUNC_ARGS(funcType);
unsigned hasVargs=FUNC_HASVARARGS(funcType);
DCL_TYPE($3) = EEPPOINTER;
break;
default:
- werror(W_PTR_TYPE_INVALID);
+ // this could be just "constant"
+ // werror(W_PTR_TYPE_INVALID);
}
}
else