Browse Source

Fixed using static issue

Brian Fiete 5 years ago
parent
commit
200f95bede
1 changed files with 3 additions and 0 deletions
  1. 3 0
      IDEHelper/Compiler/BfNamespaceVisitor.cpp

+ 3 - 0
IDEHelper/Compiler/BfNamespaceVisitor.cpp

@@ -39,6 +39,9 @@ void BfNamespaceVisitor::Visit(BfUsingStaticDirective* usingDirective)
 		else
 			break;
 	}
+
+	if (useNode == NULL)
+		return;
 	
 	String usingString = useNode->ToString();