Skip to content

Commit

Permalink
line-space includes node-space now
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Dec 19, 2024
1 parent 2148ddc commit 00a3552
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! `kdl` is a "document-oriented" parser and API for the [KDL Document
//! Language](https://kdl.dev), a node-based, human-friendly configuration and
//! serialization format.
//!
//!
//! Unlike serde-based implementations, this crate preserves formatting when
//! editing, as well as when inserting or changing values with custom
//! formatting. This is most useful when working with human-maintained KDL
Expand Down
2 changes: 1 addition & 1 deletion src/v2_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ fn badval_ty_char(input: &mut Input<'_>) -> PResult<()> {

/// `line-space := newline | ws | single-line-comment`
fn line_space(input: &mut Input<'_>) -> PResult<()> {
alt((newline, ws, single_line_comment)).parse_next(input)
alt((node_space, newline, single_line_comment)).parse_next(input)
}

/// `node-space := ws* escline ws* | ws+`
Expand Down

0 comments on commit 00a3552

Please sign in to comment.