Parse and format logs
This commit is contained in:
parent
0e4ef7fef3
commit
017098da34
4 changed files with 47 additions and 3 deletions
|
|
@ -140,8 +140,11 @@ note = {
|
|||
~ description
|
||||
}
|
||||
|
||||
log_head = !{ "LOG" ~ datum ~ eol }
|
||||
log = { log_head ~ description }
|
||||
|
||||
empty_line = _{ WHITESPACE* ~ NEWLINE }
|
||||
command = { include | timezone | task | note }
|
||||
command = { include | timezone | task | note | log }
|
||||
|
||||
file = ${ SOI ~ (empty_line* ~ command)* ~ empty_line* ~ WHITESPACE* ~ EOI }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue