Browse Source

Added missing operator symbols for generation.

woollybah 6 years ago
parent
commit
a329fcaf01
1 changed files with 7 additions and 1 deletions
  1. 7 1
      translator.bmx

+ 7 - 1
translator.bmx

@@ -447,8 +447,14 @@ Type TTranslator
 				Return "_shl"
 			Case "shr"
 				Return "_shr"
+			Case ":mod"
+				Return "_modeq"
+			Case ":shl"
+				Return "_shleq"
+			Case ":shr"
+				Return "_shreq"
 		End Select
-		Return "?? unknown symbol ?? : " + sym
+		Err "?? unknown symbol ?? : " + sym
 	End Method
 	
 	Method MungDecl( decl:TDecl, addIfNotInScope:Int = False )