Reader, it was *not* right.

This commit is contained in:
Tony Garnock-Jones 2023-01-08 13:11:49 +01:00
parent 502e83c26d
commit fcf58f0dc0
1 changed files with 0 additions and 3 deletions

View File

@ -363,10 +363,7 @@ fn simple_pattern_reader(
dest
},
SimplePattern::Embedded { .. } => {
// TODO: Is this right? If so, why doesn't it expect *two* Embedded tags in a row??
body.push(item("r.open_embedded()?;"));
ctxt.define_atom(body, &dest, item("r.demand_next(true)?.value().to_embedded()?.clone()"));
body.push(item("r.close_embedded()?;"));
dest
},
SimplePattern::Lit { value } => {