summaryrefslogtreecommitdiffstats
path: root/src/poem/read.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/poem/read.rs')
-rw-r--r--src/poem/read.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/poem/read.rs b/src/poem/read.rs
index e5cd25d..2b0dd60 100644
--- a/src/poem/read.rs
+++ b/src/poem/read.rs
@@ -79,6 +79,7 @@ impl Appendable for Poem {
Some(alias) => {
// Interpret the alias (could be a complex poem)
let mut poem = Poem::read(alias.to_string(), env)?;
+ println!("{:?}", poem);
// Try and get the last verse
let lv = match poem.last_mut() {
@@ -87,7 +88,9 @@ impl Appendable for Poem {
};
// The last verse inherits the traits from the original
- lv.couplet = verse.couplet;
+ if verse.couplet {
+ lv.couplet = verse.couplet;
+ }
lv.io = verse.io;
lv.poems = verse.poems.clone();
lv.meter = verse.meter;