Reimplement Trigraph Fix (#18)
* replace all "??=" with "??" + "=" * Update Expr.hx
This commit is contained in:
committed by
Jaime Humberto Macias Bustamante
parent
b9da833bb5
commit
4625529be7
+2
-2
@@ -106,7 +106,7 @@ enum abstract Binop(Int) from Int to Int {
|
||||
case "<<=": OpShlAssign;
|
||||
case ">>=": OpShrAssign;
|
||||
case ">>>=": OpUshrAssign;
|
||||
case "??=": OpNcoalAssign;
|
||||
case _ if (s == "??" + "="): OpNcoalAssign;
|
||||
default: -1;
|
||||
}
|
||||
}
|
||||
@@ -149,7 +149,7 @@ enum abstract Binop(Int) from Int to Int {
|
||||
case OpShlAssign: "<<=";
|
||||
case OpShrAssign: ">>=";
|
||||
case OpUshrAssign: ">>>=";
|
||||
case OpNcoalAssign: "??=";
|
||||
case OpNcoalAssign: "??" + "=";
|
||||
default: "?";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user