mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 07:16:49 +02:00
h2pas: removing } in #ifdef __cplusplus
git-svn-id: trunk@14119 -
This commit is contained in:
parent
6dafadd176
commit
11cb3a860e
@ -2282,7 +2282,9 @@ begin
|
||||
if Line='extern "C" {' then begin
|
||||
Lines[i]:='';
|
||||
end
|
||||
else if (i>0) and (Line='}') and (Lines[i-1]='#if defined(__cplusplus)')
|
||||
else if (i>0) and (Line='}')
|
||||
and ((Lines[i-1]='#if defined(__cplusplus)')
|
||||
or (Lines[i-1]='#ifdef __cplusplus'))
|
||||
then begin
|
||||
Lines[i]:='';
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user