@@ -466,7 +466,6 @@ type FSharpTokenizerColorState =
466466 | Comment = 5
467467 | StringInComment = 6
468468 | VerbatimStringInComment = 7
469- | CamlOnly = 8
470469 | VerbatimString = 9
471470 | SingleLineComment = 10
472471 | EndLineThenSkip = 11
@@ -719,8 +718,6 @@ module internal LexerStateEncoding =
719718 | LexerStringStyle.ExtendedInterpolated -> FSharpTokenizerColorState.TripleQuoteStringInComment
720719
721720 encodeLexCont ( state, int64 n, m.Start, ifdefs, LexerStringKind.String, stringNest, 0 )
722- | LexCont.MLOnly( ifdefs, stringNest, m) ->
723- encodeLexCont ( FSharpTokenizerColorState.CamlOnly, 0 L, m.Start, ifdefs, LexerStringKind.String, stringNest, 0 )
724721
725722 let decodeLexInt ( state : FSharpTokenizerLexState ) =
726723 let tag , n1 , p1 , ifdefs , stringKind , stringNest , delimLen = decodeLexCont state
@@ -738,7 +735,6 @@ module internal LexerStateEncoding =
738735 LexCont.StringInComment( ifdefs, stringNest, LexerStringStyle.Verbatim, n1, mkRange " file" p1 p1)
739736 | FSharpTokenizerColorState.TripleQuoteStringInComment ->
740737 LexCont.StringInComment( ifdefs, stringNest, LexerStringStyle.TripleQuote, n1, mkRange " file" p1 p1)
741- | FSharpTokenizerColorState.CamlOnly -> LexCont.MLOnly( ifdefs, stringNest, mkRange " file" p1 p1)
742738 | FSharpTokenizerColorState.VerbatimString ->
743739 LexCont.String( ifdefs, stringNest, LexerStringStyle.Verbatim, stringKind, delimLen, mkRange " file" p1 p1)
744740 | FSharpTokenizerColorState.TripleQuoteString ->
@@ -919,11 +915,6 @@ type FSharpLineTokenizer(lexbuf: UnicodeLexing.Lexbuf, maxLength: int option, fi
919915 | LexerStringStyle.TripleQuote
920916 | LexerStringStyle.ExtendedInterpolated -> Lexer.tripleQuoteStringInComment n m lexargs skip lexbuf
921917
922- | LexCont.MLOnly( ifdefs, stringNest, m) ->
923- lexargs.ifdefStack <- ifdefs
924- lexargs.stringNest <- stringNest
925- Lexer.mlOnly m lexargs skip lexbuf
926-
927918 let columnsOfCurrentToken () =
928919 let leftp = lexbuf.StartPos
929920 let rightp = lexbuf.EndPos
0 commit comments