From 44206aa898992c6b03ab580cb89e5ba3e793434e Mon Sep 17 00:00:00 2001 From: BENJAMIN PEINHARDT Date: Mon, 15 Jan 2024 11:59:27 -0600 Subject: [PATCH] fix readme link --- README.md | 2 +- manifest.toml | 4 ++-- src/gsv/internal/ast.gleam | 13 ++++++++----- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 369c550..8adb5e7 100644 --- a/README.md +++ b/README.md @@ -34,4 +34,4 @@ If available on Hex this package can be added to your Gleam project: gleam add csv ``` -and its documentation can be found at . +and its documentation can be found at . diff --git a/manifest.toml b/manifest.toml index a5ad710..274bd87 100644 --- a/manifest.toml +++ b/manifest.toml @@ -2,8 +2,8 @@ # You typically do not need to edit this file packages = [ - { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, - { name = "gleeunit", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "D3682ED8C5F9CAE1C928F2506DE91625588CC752495988CBE0F5653A42A6F334" }, + { name = "gleam_stdlib", version = "0.34.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "1FB8454D2991E9B4C0C804544D8A9AD0F6184725E20D63C3155F0AEB4230B016" }, + { name = "gleeunit", version = "1.0.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "D364C87AFEB26BDB4FB8A5ABDE67D635DC9FA52D6AB68416044C35B096C6882D" }, ] [requirements] diff --git a/src/gsv/internal/ast.gleam b/src/gsv/internal/ast.gleam index 7a526a6..2f2408c 100644 --- a/src/gsv/internal/ast.gleam +++ b/src/gsv/internal/ast.gleam @@ -61,7 +61,8 @@ fn parse_p( [#(tok, loc), ..], Beginning, _ -> Error(ParseError( loc, - "Unexpected start to csv content: " <> token.to_lexeme(tok), + "Unexpected start to csv content: " + <> token.to_lexeme(tok), )) // If we just parsed a field, we're expecting either a comma or a CRLF @@ -77,7 +78,8 @@ fn parse_p( [#(tok, loc), ..], JustParsedField, _ -> Error(ParseError( loc, - "Expected comma or newline after field, found: " <> token.to_lexeme(tok), + "Expected comma or newline after field, found: " + <> token.to_lexeme(tok), )) // If we just parsed a CR, we're expecting an LF @@ -87,7 +89,8 @@ fn parse_p( [#(tok, loc), ..], JustParsedCR, _ -> Error(ParseError( loc, - "Expected \"\\n\" after \"\\r\", found: " <> token.to_lexeme(tok), + "Expected \"\\n\" after \"\\r\", found: " + <> token.to_lexeme(tok), )) // If we just parsed a comma, we're expecting an Escaped or Non-Escaped string, or another comma @@ -123,7 +126,7 @@ fn parse_p( Error(ParseError( loc, "Expected escaped or non-escaped string after comma, found: " - <> token.to_lexeme(tok), + <> token.to_lexeme(tok), )) // If we just parsed a new line, we're expecting an escaped or non-escaped string @@ -143,7 +146,7 @@ fn parse_p( Error(ParseError( loc, "Expected escaped or non-escaped string after newline, found: " - <> token.to_lexeme(tok), + <> token.to_lexeme(tok), )) // If we're inside an escaped string, we can take anything until we get a double quote,