|
@@ -4287,6 +4287,9 @@ implementation
|
|
procname:='fpc_widestr_insert'
|
|
procname:='fpc_widestr_insert'
|
|
else if is_ansistring(second) then
|
|
else if is_ansistring(second) then
|
|
procname:='fpc_ansistr_insert'
|
|
procname:='fpc_ansistr_insert'
|
|
|
|
+ else if second.typ=undefineddef then
|
|
|
|
+ { just pick one }
|
|
|
|
+ procname:='fpc_ansistr_insert'
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
CGMessagePos1(fileinfo,parser_e_wrong_parameter_size,'Insert');
|
|
CGMessagePos1(fileinfo,parser_e_wrong_parameter_size,'Insert');
|
|
@@ -4317,6 +4320,9 @@ implementation
|
|
procname:='fpc_widestr_delete'
|
|
procname:='fpc_widestr_delete'
|
|
else if is_ansistring(first) then
|
|
else if is_ansistring(first) then
|
|
procname:='fpc_ansistr_delete'
|
|
procname:='fpc_ansistr_delete'
|
|
|
|
+ else if first.typ=undefineddef then
|
|
|
|
+ { just pick one }
|
|
|
|
+ procname:='fpc_ansistr_delete'
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
CGMessagePos1(fileinfo,parser_e_wrong_parameter_size,'Delete');
|
|
CGMessagePos1(fileinfo,parser_e_wrong_parameter_size,'Delete');
|