Add some TODOs

This commit is contained in:
Joscha 2021-12-05 16:15:43 +01:00
parent d7dc8aac77
commit 63f5c6fba9
2 changed files with 2 additions and 1 deletions

View file

@ -10,7 +10,7 @@ pub enum EntryKind {
Task,
TaskDone(NaiveDate),
Note,
Birthday,
Birthday, // TODO Add age gere instead of in title
}
/// A single instance of a command.

View file

@ -613,6 +613,7 @@ fn parse_stmt_move(p: Pair<'_, Rule>) -> Result<Statement> {
Ok(Statement::Move { span, from, to })
}
// TODO Don't allow BDATE in TASKs
fn parse_statements(p: Pair<'_, Rule>) -> Result<Vec<Statement>> {
assert_eq!(p.as_rule(), Rule::statements);
let mut statements = vec![];