From 3a194edd051d081926b9ab802c1a11fbfeabf487 Mon Sep 17 00:00:00 2001 From: Ville Penttinen Date: Tue, 3 Dec 2024 06:57:42 +0200 Subject: [PATCH] chore: Fix formatting --- src/Visp.Compiler/ParseUtils.fs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/Visp.Compiler/ParseUtils.fs b/src/Visp.Compiler/ParseUtils.fs index c021824..a57a98e 100644 --- a/src/Visp.Compiler/ParseUtils.fs +++ b/src/Visp.Compiler/ParseUtils.fs @@ -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