pike.git
/
src
/
program.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/program.c:11527:
if (b->identifier_references[e].id_flags & (ID_PROTECTED|ID_HIDDEN)) continue; /* Skip protected & hidden */ bid = ID_FROM_INT(b,e); if(init_string == bid->name) continue; /* Skip __INIT */ i = find_shared_string_identifier(bid->name,a); if (i == -1) { if (b->identifier_references[e].id_flags & (ID_OPTIONAL)) continue; /* It's ok... */ ref_push_type_value(bid->type); string_builder_sprintf(s,
-
"Missing identifier %
S.\n"
-
"Expected:
%
O
.\n",
-
bid->name,
Pike_sp-1);
+
"Missing identifier %
O
%
S
.\n",
+
Pike_sp-1
, bid->name
);
pop_stack(); continue; } if (!pike_types_le(bid->type, ID_FROM_INT(a, i)->type)) { ref_push_type_value(bid->type); ref_push_type_value(ID_FROM_INT(a, i)->type); if(!match_types(ID_FROM_INT(a,i)->type, bid->type)) { string_builder_sprintf(s, "Type of identifier %S does not match.\n"