mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
Add a ~mod* operator
This commit is contained in:
1 parent
e1091ec182
commit
cb7e9e0ce9
5 files changed
+35
-16
No files matched your search
@@ -487,19 +487,16 @@ var cOpNames = [...]string{
|
||||
t.IDPipeEq: " |= ",
|
||||
t.IDHatEq: " ^= ",
|
||||
t.IDPercentEq: " %= ",
|
||||
t.IDTildeModShiftLEq: " <<= ",
|
||||
t.IDTildeModPlusEq: " += ",
|
||||
t.IDTildeModMinusEq: " -= ",
|
||||
t.IDTildeModStarEq: " *= ",
|
||||
t.IDTildeModShiftLEq: " <<= ",
|
||||
t.IDTildeSatPlusEq: noSuchCOperator,
|
||||
t.IDTildeSatMinusEq: noSuchCOperator,
|
||||
|
||||
t.IDEq: " = ",
|
||||
t.IDEqQuestion: " = ",
|
||||
|
||||
t.IDXUnaryPlus: " + ",
|
||||
t.IDXUnaryMinus: " - ",
|
||||
t.IDXUnaryNot: " ! ",
|
||||
|
||||
t.IDXBinaryPlus: " + ",
|
||||
t.IDXBinaryMinus: " - ",
|
||||
t.IDXBinaryStar: " * ",
|
||||
@@ -510,9 +507,10 @@ var cOpNames = [...]string{
|
||||
t.IDXBinaryPipe: " | ",
|
||||
t.IDXBinaryHat: " ^ ",
|
||||
t.IDXBinaryPercent: " % ",
|
||||
t.IDXBinaryTildeModShiftL: " << ",
|
||||
t.IDXBinaryTildeModPlus: " + ",
|
||||
t.IDXBinaryTildeModMinus: " - ",
|
||||
t.IDXBinaryTildeModStar: " * ",
|
||||
t.IDXBinaryTildeModShiftL: " << ",
|
||||
t.IDXBinaryTildeSatPlus: noSuchCOperator,
|
||||
t.IDXBinaryTildeSatMinus: noSuchCOperator,
|
||||
t.IDXBinaryNotEq: " != ",
|
||||
@@ -532,4 +530,8 @@ var cOpNames = [...]string{
|
||||
t.IDXAssociativeHat: " ^ ",
|
||||
t.IDXAssociativeAnd: " && ",
|
||||
t.IDXAssociativeOr: " || ",
|
||||
|
||||
t.IDXUnaryPlus: " + ",
|
||||
t.IDXUnaryMinus: " - ",
|
||||
t.IDXUnaryNot: " ! ",
|
||||
}
|
||||
Reference in new issue
Block a user