|
@@ -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.
|
|
|
|
|
|
|
|
|
+
|