Add some TODOs
This commit is contained in:
parent
d7dc8aac77
commit
63f5c6fba9
2 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ pub enum EntryKind {
|
||||||
Task,
|
Task,
|
||||||
TaskDone(NaiveDate),
|
TaskDone(NaiveDate),
|
||||||
Note,
|
Note,
|
||||||
Birthday,
|
Birthday, // TODO Add age gere instead of in title
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A single instance of a command.
|
/// A single instance of a command.
|
||||||
|
|
|
||||||
|
|
@ -613,6 +613,7 @@ fn parse_stmt_move(p: Pair<'_, Rule>) -> Result<Statement> {
|
||||||
Ok(Statement::Move { span, from, to })
|
Ok(Statement::Move { span, from, to })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO Don't allow BDATE in TASKs
|
||||||
fn parse_statements(p: Pair<'_, Rule>) -> Result<Vec<Statement>> {
|
fn parse_statements(p: Pair<'_, Rule>) -> Result<Vec<Statement>> {
|
||||||
assert_eq!(p.as_rule(), Rule::statements);
|
assert_eq!(p.as_rule(), Rule::statements);
|
||||||
let mut statements = vec![];
|
let mut statements = vec![];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue