diff --git a/.gitignore b/.gitignore
index d7f08c2..2e0a5f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,9 +15,6 @@
/#Test/*.exe
/ipch
*.obj
-*.lib
-*.dll
-*.exe
*.ilk
*.idb
*.pdb
\ No newline at end of file
diff --git a/.vs/BlitzNext/v14/.suo b/.vs/BlitzNext/v14/.suo
index 555f44d..2f9c18d 100644
Binary files a/.vs/BlitzNext/v14/.suo and b/.vs/BlitzNext/v14/.suo differ
diff --git a/BlitzBasicIDE/Debug/blitzide.pch b/BlitzBasicIDE/Debug/blitzide.pch
deleted file mode 100644
index edf28d2..0000000
Binary files a/BlitzBasicIDE/Debug/blitzide.pch and /dev/null differ
diff --git a/Debugger/Debug/debugger.exp b/Debugger/Debug/debugger.exp
deleted file mode 100644
index e6fa019..0000000
Binary files a/Debugger/Debug/debugger.exp and /dev/null differ
diff --git a/Debugger/Release/debugger.exp b/Debugger/Release/debugger.exp
deleted file mode 100644
index dd4423c..0000000
Binary files a/Debugger/Release/debugger.exp and /dev/null differ
diff --git a/Linker/Debug/linker.exp b/Linker/Debug/linker.exp
deleted file mode 100644
index bd150d5..0000000
Binary files a/Linker/Debug/linker.exp and /dev/null differ
diff --git a/Runtime/Debug/runtime.exp b/Runtime/Debug/runtime.exp
deleted file mode 100644
index 9a53e8f..0000000
Binary files a/Runtime/Debug/runtime.exp and /dev/null differ
diff --git a/Runtime/Release/runtime.exp b/Runtime/Release/runtime.exp
deleted file mode 100644
index d0ba881..0000000
Binary files a/Runtime/Release/runtime.exp and /dev/null differ
diff --git a/blitz/blitz.vcxproj b/blitz/blitz.vcxproj
index bd306fe..a22e543 100644
--- a/blitz/blitz.vcxproj
+++ b/blitz/blitz.vcxproj
@@ -14,7 +14,7 @@
{C23AF61E-9509-411F-933E-17DB18884B21}
- BlitzCc
+ BlitzCC
8.1
diff --git a/blitzbasic/bin/debugger.dll b/blitzbasic/bin/debugger.dll
deleted file mode 100644
index c37fdcc..0000000
Binary files a/blitzbasic/bin/debugger.dll and /dev/null differ
diff --git a/compiler/declnode.cpp b/compiler/declnode.cpp
index 6c35b63..fa5f902 100644
--- a/compiler/declnode.cpp
+++ b/compiler/declnode.cpp
@@ -76,7 +76,11 @@ void VarDeclNode::proto(DeclSeq *d, Environ *e) {
delete expr; expr = 0;
}
- if (kind & DECL_PARAM) {
+ if (expr == nullptr) {
+ ex("Internal Error: expr turned into nullptr (3)");
+ }
+
+ if (kind & DECL_PARAM) { // Heap corruption, this being replaced again?
defType = ty->constType(); ty = defType->valueType;
}
} else if (constant) ex("Constants must be initialized");