Fixed macro system by reintroducing MacTok::Resolved
This commit is contained in:
@@ -66,10 +66,7 @@ pub struct RuleCtx<'a> {
|
||||
}
|
||||
impl RuleCtx<'_> {
|
||||
/// Recursively resolve a subexpression
|
||||
pub async fn recur(&mut self, mt: MacTree) -> MacTree {
|
||||
eprintln!("Recursion in macro");
|
||||
resolve(&mut self.handle, mt).await
|
||||
}
|
||||
pub async fn recur(&mut self, mt: MacTree) -> MacTree { resolve(&mut self.handle, mt).await }
|
||||
/// Recursively resolve a value from a delegate macro which is expected to
|
||||
/// match only keywords and return any subexpressions in a datastructure
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user