Skip to content

Commit fc51e55

Browse files
Copilotabonie
andcommitted
Fix code formatting in LexHelpers.fs and LexHelpers.fsi
Co-authored-by: abonie <[email protected]>
1 parent df81dfb commit fc51e55

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

src/Compiler/SyntaxTree/LexHelpers.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ module Keywords =
460460
// Track token position for XML doc comment checking
461461
args.lastTokenEndLine <- lexbuf.EndPos.Line
462462
args.lastTokenEndColumn <- lexbuf.EndPos.Column
463+
463464
match keywordTable.TryGetValue s with
464465
| true, v ->
465466
match v with

src/Compiler/SyntaxTree/LexHelpers.fsi

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,21 @@ type LexResourceManager =
2929

3030
/// The context applicable to all lexing functions (tokens, strings etc.)
3131
type LexArgs =
32-
{ conditionalDefines: string list
33-
resourceManager: LexResourceManager
34-
diagnosticsLogger: DiagnosticsLogger
35-
applyLineDirectives: bool
36-
pathMap: PathMap
37-
mutable ifdefStack: LexerIfdefStack
38-
mutable indentationSyntaxStatus: IndentationAwareSyntaxStatus
39-
mutable stringNest: LexerInterpolatedStringNesting
40-
mutable interpolationDelimiterLength: int
41-
/// Tracks the line number of the last non-whitespace, non-comment token
42-
mutable lastTokenEndLine: int
43-
/// Tracks the end column of the last non-whitespace, non-comment token
44-
mutable lastTokenEndColumn: int }
32+
{
33+
conditionalDefines: string list
34+
resourceManager: LexResourceManager
35+
diagnosticsLogger: DiagnosticsLogger
36+
applyLineDirectives: bool
37+
pathMap: PathMap
38+
mutable ifdefStack: LexerIfdefStack
39+
mutable indentationSyntaxStatus: IndentationAwareSyntaxStatus
40+
mutable stringNest: LexerInterpolatedStringNesting
41+
mutable interpolationDelimiterLength: int
42+
/// Tracks the line number of the last non-whitespace, non-comment token
43+
mutable lastTokenEndLine: int
44+
/// Tracks the end column of the last non-whitespace, non-comment token
45+
mutable lastTokenEndColumn: int
46+
}
4547

4648
type LongUnicodeLexResult =
4749
| SurrogatePair of uint16 * uint16

0 commit comments

Comments
 (0)