Browse Source

Fixed function attributes issue. Fixes #241.

woollybah 8 năm trước cách đây
mục cha
commit
b03396e0eb
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      parser.bmx

+ 4 - 3
parser.bmx

@@ -2879,10 +2879,11 @@ End Rem
 			If api = "win32" Then
 				attrs :| DECL_API_WIN32
 			End If
-		'Else
-		'	Exit
 		EndIf
-		'Forever
+		
+		If CParse( "nodebug" ) Then
+			attrs :| DECL_NODEBUG
+		End If
 
 		Local funcDecl:TFuncDecl
 		If attrs & FUNC_CTOR Then