Browse Source

Fixed the AST converter for the new macro location name.

pull/208/head
triton 11 years ago
parent
commit
ca6884c19c
  1. 2
      src/Core/Parser/ASTConverter.cs

2
src/Core/Parser/ASTConverter.cs

@ -1408,7 +1408,7 @@ namespace CppSharp @@ -1408,7 +1408,7 @@ namespace CppSharp
void VisitPreprocessedEntity(PreprocessedEntity entity, AST.PreprocessedEntity _entity)
{
VisitDeclaration(entity, _entity);
_entity.MacroLocation = VisitMacroLocation(entity.Location);
_entity.MacroLocation = VisitMacroLocation(entity.MacroLocation);
}
private AST.MacroLocation VisitMacroLocation(MacroLocation location)

Loading…
Cancel
Save