Working prefix

This commit is contained in:
2026-05-04 20:12:06 +02:00
parent 5364f51fc1
commit 44c8a792cf
+1 -3
View File
@@ -285,11 +285,9 @@ impl From<pest::iterators::Pair<'_, Rule>> for Expression {
prefixes.push(Prefix::from(inner.next().unwrap()));
}
println!("{:#?}", prefixes);
let exp = Expression::from(inner.next().unwrap());
if inner.len() > 0 {
if inner.len() > 0 || prefixes.len() > 0 {
Expression::Fix {
initial: Box::new(exp),
prefixes,