Browse Source

Merge pull request #7 from SickheadGames/ignore_fix

Fix For CheckTypeReferencesPass
pull/10/merge
João Matos 12 years ago
parent
commit
b23a4478ec
  1. 6
      src/Generator/Passes/CheckTypeReferencesPass.cs

6
src/Generator/Passes/CheckTypeReferencesPass.cs

@ -6,6 +6,12 @@ @@ -6,6 +6,12 @@
public override bool VisitTranslationUnit(TranslationUnit unit)
{
if (unit.Ignore)
return false;
if (unit.IsSystemHeader)
return false;
typeRefs = new TypeRefsVisitor();
return typeRefs.VisitTranslationUnit(unit);
}

Loading…
Cancel
Save