فهرست منبع

Merge pull request #637 from bmx-ng/task/initialise-env

Ensure _env is initialised with base module.
Brucey 1 سال پیش
والد
کامیت
0d9d838b46
2فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 4 0
      parser.bmx
  2. 1 1
      version.bmx

+ 4 - 0
parser.bmx

@@ -4223,6 +4223,10 @@ End Rem
 
 		_module=New TModuleDecl.Create( ident,munged,path,mattrs )
 
+		If Not _env Then
+			_env = _module
+		End If
+
 		_module.AddImport path,_module
 
 		_app.InsertModule _module

+ 1 - 1
version.bmx

@@ -23,4 +23,4 @@
 '
 SuperStrict
 
-Const BCC_VERSION:String = "0.139"
+Const BCC_VERSION:String = "0.140"