@@ -55,7 +55,9 @@ toTable fs = map (map toBin)
5555-- | Binary operator
5656binary :: String -> (FC -> PTerm -> PTerm -> PTerm) -> Assoc -> Operator IdrisParser PTerm
5757binary name f = Infix (do fc <- getFC
58+ indentPropHolds gtProp
5859 reservedOp name
60+ indentPropHolds gtProp
5961 doc <- option "" (docComment '^')
6062 return (f fc))
6163
@@ -63,12 +65,15 @@ binary name f = Infix (do fc <- getFC
6365prefix :: String -> (FC -> PTerm -> PTerm) -> Operator IdrisParser PTerm
6466prefix name f = Prefix (do reservedOp name
6567 fc <- getFC
68+ indentPropHolds gtProp
6669 return (f fc))
6770
6871-- | Backtick operator
6972backtick :: Operator IdrisParser PTerm
70−backtick = Infix (do lchar '`'; n <- fnName
73+backtick = Infix (do indentPropHolds gtProp
74+ lchar '`'; n <- fnName
7175 lchar '`'
76+ indentPropHolds gtProp
7277 fc <- getFC
7378 return (\x y -> PApp fc (PRef fc n) [pexp x, pexp y])) AssocNone
7479