diff --git a/lang/ast/string.go b/lang/ast/string.go index cb3c2499..710f15b6 100644 --- a/lang/ast/string.go +++ b/lang/ast/string.go @@ -157,28 +157,29 @@ var opStrings = [...]string{ t.IDXUnaryRef: "ref ", t.IDXUnaryDeref: "deref ", - t.IDXBinaryPlus: " + ", - t.IDXBinaryMinus: " - ", - t.IDXBinaryStar: " * ", - t.IDXBinarySlash: " / ", - t.IDXBinaryShiftL: " << ", - t.IDXBinaryShiftR: " >> ", - t.IDXBinaryAmp: " & ", - t.IDXBinaryPipe: " | ", - t.IDXBinaryHat: " ^ ", - t.IDXBinaryTildeModPlus: " ~mod+ ", - t.IDXBinaryTildeModMinus: " ~mod- ", - t.IDXBinaryTildeSatPlus: " ~sat+ ", - t.IDXBinaryTildeSatMinus: " ~sat- ", - t.IDXBinaryNotEq: " != ", - t.IDXBinaryLessThan: " < ", - t.IDXBinaryLessEq: " <= ", - t.IDXBinaryEqEq: " == ", - t.IDXBinaryGreaterEq: " >= ", - t.IDXBinaryGreaterThan: " > ", - t.IDXBinaryAnd: " and ", - t.IDXBinaryOr: " or ", - t.IDXBinaryAs: " as ", + t.IDXBinaryPlus: " + ", + t.IDXBinaryMinus: " - ", + t.IDXBinaryStar: " * ", + t.IDXBinarySlash: " / ", + t.IDXBinaryShiftL: " << ", + t.IDXBinaryShiftR: " >> ", + t.IDXBinaryAmp: " & ", + t.IDXBinaryPipe: " | ", + t.IDXBinaryHat: " ^ ", + t.IDXBinaryTildeModShiftL: " ~mod<< ", + t.IDXBinaryTildeModPlus: " ~mod+ ", + t.IDXBinaryTildeModMinus: " ~mod- ", + t.IDXBinaryTildeSatPlus: " ~sat+ ", + t.IDXBinaryTildeSatMinus: " ~sat- ", + t.IDXBinaryNotEq: " != ", + t.IDXBinaryLessThan: " < ", + t.IDXBinaryLessEq: " <= ", + t.IDXBinaryEqEq: " == ", + t.IDXBinaryGreaterEq: " >= ", + t.IDXBinaryGreaterThan: " > ", + t.IDXBinaryAnd: " and ", + t.IDXBinaryOr: " or ", + t.IDXBinaryAs: " as ", t.IDXAssociativePlus: " + ", t.IDXAssociativeStar: " * ",