Skip to content

Commit

Permalink
chore: Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vipentti committed Dec 3, 2024
1 parent 461e5a1 commit 3a194ed
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/Visp.Compiler/ParseUtils.fs
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,16 @@ and private getNestedTokens origBuf filePath dbg =
let ep = lexbuf.EndPos

if next <> EOF then
arr.Add({ token = next; startPos = sp; endPos = ep; })

{ tokens = arr; index = 0; origStartPos = origBuf.StartPos; origEndPos = origBuf.EndPos; }
arr.Add(
{ token = next
startPos = sp
endPos = ep }
)

{ tokens = arr
index = 0
origStartPos = origBuf.StartPos
origEndPos = origBuf.EndPos }

and mkTokenizer dbg =
mkTokenizerWithArgs
Expand Down

0 comments on commit 3a194ed

Please sign in to comment.