diff options
-rw-r--r-- | src/poem/read.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/poem/read.rs b/src/poem/read.rs index 6d7550b..8f3fd4a 100644 --- a/src/poem/read.rs +++ b/src/poem/read.rs @@ -379,17 +379,23 @@ impl Readable for Poem { | Rune::Addendum | Rune::Addendum2 | Rune::AddendumAll => { + channel = Some(rune); verse.add(&mut word, channel); channel = Some(rune); verse.io.push(rune); } // These meters indicate the end of a verse - Rune::Couplet | Rune::Quiet | Rune::And | Rune::Continue => { + Rune::Couplet | Rune::Quiet | Rune::And => { channel = None; verse.add(&mut word, channel); poem.add(&mut verse, rune, env)?; - // append!(poem, last, rune, verse, env); + } + + Rune::Continue => { + verse.add(&mut word, channel); + poem.add(&mut verse, rune, env)?; + channel = None; } // Interpret ~ as $HOME |