From ca6884c19cf6365b7899d623ac264703d2e71590 Mon Sep 17 00:00:00 2001 From: triton Date: Fri, 20 Jun 2014 17:01:14 +0100 Subject: [PATCH] Fixed the AST converter for the new macro location name. --- src/Core/Parser/ASTConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Parser/ASTConverter.cs b/src/Core/Parser/ASTConverter.cs index c30dcc38..e637087f 100644 --- a/src/Core/Parser/ASTConverter.cs +++ b/src/Core/Parser/ASTConverter.cs @@ -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)