浏览代码

Fixed using static issue

Brian Fiete 5 年之前
父节点
当前提交
200f95bede
共有 1 个文件被更改,包括 3 次插入0 次删除
  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();