mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 14:59:32 +02:00
git-svn-id: trunk@4959 -
This commit is contained in:
parent
de27a80cc9
commit
ec74887552
@ -901,7 +901,7 @@ program h2pas;
|
||||
end;
|
||||
{ what can we do with void defs ? }
|
||||
t_void :
|
||||
write(outfile,'void');
|
||||
write(outfile,'pointer');
|
||||
t_pointerdef :
|
||||
begin
|
||||
pointerwritten:=false;
|
||||
|
@ -695,11 +695,21 @@ D [0-9]
|
||||
if not stripinfo then
|
||||
writeln(outfile,'{ C++ extern C conditionnal removed }');
|
||||
end;
|
||||
"#ifdef cplusplus"[ \t]*\n"extern \"C\" {"\n"#endif"
|
||||
begin
|
||||
if not stripinfo then
|
||||
writeln(outfile,'{ C++ extern C conditionnal removed }');
|
||||
end;
|
||||
"#ifdef __cplusplus"[ \t]*\n"}"\n"#endif"
|
||||
begin
|
||||
if not stripinfo then
|
||||
writeln(outfile,'{ C++ end of extern C conditionnal removed }');
|
||||
end;
|
||||
"#ifdef cplusplus"[ \t]*\n"}"\n"#endif"
|
||||
begin
|
||||
if not stripinfo then
|
||||
writeln(outfile,'{ C++ end of extern C conditionnal removed }');
|
||||
end;
|
||||
"#"[ \t]*"else" begin
|
||||
writeln(outfile,'{$else}');
|
||||
block_type:=bt_no;
|
||||
@ -865,3 +875,4 @@ end;
|
||||
end.
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user