Parcourir la source

Reverted b0ca9c9.

woollybah il y a 8 ans
Parent
commit
526c180411
2 fichiers modifiés avec 1 ajouts et 4 suppressions
  1. 0 3
      options.bmx
  2. 1 1
      toker.bmx

+ 0 - 3
options.bmx

@@ -104,7 +104,6 @@ Global opt_warnover:Int = False
 ' musl libc support
 ' musl libc support
 '    
 '    
 Global opt_musl:Int = False
 Global opt_musl:Int = False
-Global opt_native:Int = False
 
 
 Global opt_filepath:String
 Global opt_filepath:String
 
 
@@ -200,8 +199,6 @@ Function ParseArgs:String[](args:String[])
 				opt_warnover=True
 				opt_warnover=True
 			Case "musl"
 			Case "musl"
 				opt_musl=True
 				opt_musl=True
-			Case "n"
-				opt_native=True
 		End Select
 		End Select
 	
 	
 		count:+ 1
 		count:+ 1

+ 1 - 1
toker.bmx

@@ -209,7 +209,7 @@ Type TToker
 			If _tokePos<_source.Length _tokePos:+1 Else _tokeType=TOKE_STRINGLITEX
 			If _tokePos<_source.Length _tokePos:+1 Else _tokeType=TOKE_STRINGLITEX
 		Else If str="'"
 		Else If str="'"
 			Local _tstr:String = TSTR()
 			Local _tstr:String = TSTR()
-			If _tstr="!" And opt_native Then
+			If _tstr="!" Then
 		
 		
 				_tokeType=TOKE_NATIVE
 				_tokeType=TOKE_NATIVE