diff --git a/org_mode_samples/comment/indented.org b/org_mode_samples/comment/indented.org index 4360a35..b98916d 100644 --- a/org_mode_samples/comment/indented.org +++ b/org_mode_samples/comment/indented.org @@ -1,5 +1,8 @@ # Comment # indented line # At the top of the file + + + foo # Another comment diff --git a/src/parser/comment.rs b/src/parser/comment.rs index 8152259..21ad4ab 100644 --- a/src/parser/comment.rs +++ b/src/parser/comment.rs @@ -8,3 +8,8 @@ pub fn comment<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s str, start_of_line(context, input)?; todo!() } + +fn comment_line<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s str, &'s str> { + start_of_line(context, input)?; + todo!() +}