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.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/poem/read.rs b/src/poem/read.rs
index 0956700..d88cf0d 100644
--- a/src/poem/read.rs
+++ b/src/poem/read.rs
@@ -4,7 +4,7 @@ use super::{
};
use core::fmt;
mod parse;
-use crate::{next, poem, string};
+use crate::{next, poem, remark, string};
#[derive(Debug, PartialEq, Eq)]
pub enum Mishap {
@@ -127,6 +127,7 @@ impl Readable for Poem {
let rune = match c {
' ' => Rune::Pause,
'/' => Rune::Path,
+ '#' => Rune::Remark,
'\'' | '"' => Rune::String,
'`' => Rune::Poem,
'<' => {
@@ -195,6 +196,10 @@ impl Readable for Poem {
verse.add(&mut word);
}
+ Rune::Remark => {
+ remark!(chars);
+ }
+
// Indicates a string (' or ")
Rune::String => {
string!(chars, j, i, c, word);