Browse Source

Fixed function attributes issue. Fixes #241.

woollybah 8 years ago
parent
commit
b03396e0eb
1 changed files with 4 additions and 3 deletions
  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