浏览代码

Fixed output of function names in errors.

woollybah 7 年之前
父节点
当前提交
aa3c0a0ae3
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      decl.bmx

+ 2 - 0
decl.bmx

@@ -1742,6 +1742,8 @@ Type TBlockDecl Extends TScopeDecl
 
 	Method ToString:String()
 		Select blockType
+			Case BLOCK_FUNCTION
+				Return Super.ToString()
 			Case BLOCK_OTHER
 				Return "TBlockDecl:Other"
 			Case BLOCK_LOOP