@@ -565,7 +565,7 @@ type LexFilterImpl (lightSyntaxStatus:LightSyntaxStatus, compilingFsLib, lexer,
565565 let tokenLexbufState = getLexbufState()
566566 savedLexbufState <- tokenLexbufState
567567 haveLexbufState <- true
568- TokenTup( token, tokenLexbufState, PositionTuple( lastTokenStart, lastTokenEnd))
568+ TokenTup( token, tokenLexbufState, PositionTuple( lastTokenStart, lastTokenEnd))
569569
570570 //----------------------------------------------------------------------------
571571 // Fetch a raw token, either from the old lexer or from our delayedStack
@@ -635,7 +635,7 @@ type LexFilterImpl (lightSyntaxStatus:LightSyntaxStatus, compilingFsLib, lexer,
635635 let pushCtxt tokenTup ( newCtxt : Context ) =
636636 let rec unindentationLimit strict stack =
637637 match newCtxt, stack with
638- | _, [] -> PositionWithColumn ( newCtxt.StartPos, - 1 )
638+ | _, [] -> PositionWithColumn( newCtxt.StartPos, - 1 )
639639
640640 // ignore Vanilla because a SeqBlock is always coming
641641 | _, ( CtxtVanilla _ :: rest) -> unindentationLimit strict rest
@@ -647,8 +647,8 @@ type LexFilterImpl (lightSyntaxStatus:LightSyntaxStatus, compilingFsLib, lexer,
647647 // '(match' limited by minimum of two
648648 | _,((( CtxtMatch _) as ctxt1) :: CtxtSeqBlock _ :: ( CtxtParen (( BEGIN | LPAREN),_) as ctxt2) :: _ rest)
649649 -> if ctxt1.StartCol <= ctxt2.StartCol
650- then PositionWithColumn ( ctxt1.StartPos, ctxt1.StartCol)
651- else PositionWithColumn ( ctxt2.StartPos, ctxt2.StartCol)
650+ then PositionWithColumn( ctxt1.StartPos, ctxt1.StartCol)
651+ else PositionWithColumn( ctxt2.StartPos, ctxt2.StartCol)
652652
653653 // 'let ... = function' limited by 'let', precisely
654654 // This covers the common form
@@ -657,15 +657,15 @@ type LexFilterImpl (lightSyntaxStatus:LightSyntaxStatus, compilingFsLib, lexer,
657657 // | Case1 -> ...
658658 // | Case2 -> ...
659659 | ( CtxtMatchClauses _), ( CtxtFunction _ :: CtxtSeqBlock _ :: ( CtxtLetDecl _ as limitCtxt) :: _ rest)
660- -> PositionWithColumn ( limitCtxt.StartPos, limitCtxt.StartCol)
660+ -> PositionWithColumn( limitCtxt.StartPos, limitCtxt.StartCol)
661661
662662 // Otherwise 'function ...' places no limit until we hit a CtxtLetDecl etc... (Recursive)
663663 | ( CtxtMatchClauses _), ( CtxtFunction _ :: rest)
664664 -> unindentationLimit false rest
665665
666666 // 'try ... with' limited by 'try'
667667 | _,( CtxtMatchClauses _ :: ( CtxtTry _ as limitCtxt) :: _ rest)
668- -> PositionWithColumn ( limitCtxt.StartPos, limitCtxt.StartCol)
668+ -> PositionWithColumn( limitCtxt.StartPos, limitCtxt.StartCol)
669669
670670 // 'fun ->' places no limit until we hit a CtxtLetDecl etc... (Recursive)
671671 | _,( CtxtFun _ :: rest)
@@ -684,7 +684,7 @@ type LexFilterImpl (lightSyntaxStatus:LightSyntaxStatus, compilingFsLib, lexer,
684684 // This is a serious thing to allow, but is required since there is no "return" in this language.
685685 // Without it there is no way of escaping special cases in large bits of code without indenting the main case.
686686 | CtxtSeqBlock _, ( CtxtElse _ :: ( CtxtIf _ as limitCtxt) :: _ rest)
687- -> PositionWithColumn ( limitCtxt.StartPos, limitCtxt.StartCol)
687+ -> PositionWithColumn( limitCtxt.StartPos, limitCtxt.StartCol)
688688
689689 // Permitted inner-construct precise block alighnment:
690690 // interface ...
@@ -695,7 +695,7 @@ type LexFilterImpl (lightSyntaxStatus:LightSyntaxStatus, compilingFsLib, lexer,
695695 // with ...
696696 // end
697697 | CtxtWithAsAugment _,(( CtxtInterfaceHead _ | CtxtMemberHead _ | CtxtException _ | CtxtTypeDefns _) as limitCtxt :: _ rest)
698- -> PositionWithColumn ( limitCtxt.StartPos, limitCtxt.StartCol)
698+ -> PositionWithColumn( limitCtxt.StartPos, limitCtxt.StartCol)
699699
700700 // Permit unindentation via parentheses (or begin/end) following a 'then', 'else' or 'do':
701701 // if nr > 0 then (
@@ -766,12 +766,12 @@ type LexFilterImpl (lightSyntaxStatus:LightSyntaxStatus, compilingFsLib, lexer,
766766 // 'type C = interface ... ' limited by 'type'
767767 // 'type C = struct ... ' limited by 'type'
768768 | _,( CtxtParen (( CLASS | STRUCT | INTERFACE),_) :: CtxtSeqBlock _ :: ( CtxtTypeDefns _ as limitCtxt) :: _)
769- -> PositionWithColumn ( limitCtxt.StartPos, limitCtxt.StartCol + 1 )
769+ -> PositionWithColumn( limitCtxt.StartPos, limitCtxt.StartCol + 1 )
770770
771771 // REVIEW: document these
772772 | _,( CtxtSeqBlock _ :: CtxtParen(( BEGIN | LPAREN | LBRACK | LBRACK_ BAR),_) :: CtxtVanilla _ :: ( CtxtSeqBlock _ as limitCtxt) :: _)
773773 | ( CtxtSeqBlock _),( CtxtParen (( BEGIN | LPAREN | LBRACE | LBRACK | LBRACK_ BAR) ,_) :: CtxtSeqBlock _ :: (( CtxtTypeDefns _ | CtxtLetDecl _ | CtxtMemberBody _ | CtxtWithAsLet _) as limitCtxt) :: _)
774- -> PositionWithColumn ( limitCtxt.StartPos, limitCtxt.StartCol + 1 )
774+ -> PositionWithColumn( limitCtxt.StartPos, limitCtxt.StartCol + 1 )
775775
776776 // Permitted inner-construct (e.g. "then" block and "else" block in overall
777777 // "if-then-else" block ) block alighnment:
@@ -780,22 +780,22 @@ type LexFilterImpl (lightSyntaxStatus:LightSyntaxStatus, compilingFsLib, lexer,
780780 // elif expr
781781 // else expr
782782 | ( CtxtIf _ | CtxtElse _ | CtxtThen _), ( CtxtIf _ as limitCtxt) :: _ rest
783- -> PositionWithColumn ( limitCtxt.StartPos, limitCtxt.StartCol)
783+ -> PositionWithColumn( limitCtxt.StartPos, limitCtxt.StartCol)
784784 // Permitted inner-construct precise block alighnment:
785785 // while ...
786786 // do expr
787787 // done
788788 | ( CtxtDo _), (( CtxtFor _ | CtxtWhile _) as limitCtxt) :: _ rest
789- -> PositionWithColumn ( limitCtxt.StartPos, limitCtxt.StartCol)
789+ -> PositionWithColumn( limitCtxt.StartPos, limitCtxt.StartCol)
790790
791791
792792 // These contexts all require indentation by at least one space
793793 | _,(( CtxtInterfaceHead _ | CtxtNamespaceHead _ | CtxtModuleHead _ | CtxtException _ | CtxtModuleBody (_, false ) | CtxtIf _ | CtxtWithAsLet _ | CtxtLetDecl _ | CtxtMemberHead _ | CtxtMemberBody _) as limitCtxt :: _)
794- -> PositionWithColumn ( limitCtxt.StartPos, limitCtxt.StartCol + 1 )
794+ -> PositionWithColumn( limitCtxt.StartPos, limitCtxt.StartCol + 1 )
795795
796796 // These contexts can have their contents exactly aligning
797797 | _,(( CtxtParen _ | CtxtFor _ | CtxtWhen _ | CtxtWhile _ | CtxtTypeDefns _ | CtxtMatch _ | CtxtModuleBody (_, true ) | CtxtNamespaceBody _ | CtxtTry _ | CtxtMatchClauses _ | CtxtSeqBlock _) as limitCtxt :: _)
798- -> PositionWithColumn ( limitCtxt.StartPos, limitCtxt.StartCol)
798+ -> PositionWithColumn( limitCtxt.StartPos, limitCtxt.StartCol)
799799
800800 match newCtxt with
801801 // Don't bother to check pushes of Vanilla blocks since we've
0 commit comments