Fix ending atoms at end of list.
This commit is contained in:
@@ -3,18 +3,16 @@ use std::process::Command;
|
||||
|
||||
use crate::compare::sexp::sexp;
|
||||
|
||||
pub fn emacs_parse_org_document<'a, C>(file_path: C) -> Result<String, Box<dyn std::error::Error>>
|
||||
pub fn compare_parse_org_document<'a, C>(file_path: C) -> Result<String, Box<dyn std::error::Error>>
|
||||
where
|
||||
C: AsRef<Path>,
|
||||
{
|
||||
let org_sexp = emacs_parse_org_document_to_sexp(file_path)?;
|
||||
let org_sexp = emacs_parse_org_document(file_path)?;
|
||||
let parsed_sexp = sexp(org_sexp.as_str()).expect("Parse failure");
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn emacs_parse_org_document_to_sexp<'a, C>(
|
||||
file_path: C,
|
||||
) -> Result<String, Box<dyn std::error::Error>>
|
||||
pub fn emacs_parse_org_document<'a, C>(file_path: C) -> Result<String, Box<dyn std::error::Error>>
|
||||
where
|
||||
C: AsRef<Path>,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user