Browse Source

Fix the generation of properties for locations in expressions

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/1192/head
Dimitar Dobrev 6 years ago
parent
commit
8ad78c37c4
  1. 2
      src/CppParser/Bootstrap/Bootstrap.cs

2
src/CppParser/Bootstrap/Bootstrap.cs

@ -1482,7 +1482,7 @@ namespace CppSharp @@ -1482,7 +1482,7 @@ namespace CppSharp
return true;
}
if (property.Name == "beginLoc" || property.Name == "endLoc" &&
if ((property.Name == "beginLoc" || property.Name == "endLoc") &&
@class.Name != "Stmt")
return true;

Loading…
Cancel
Save