Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2026-07-09 17:56:54 +03:00
parent 71a4b7f41b
commit 8e501641ac

View File

@ -817,8 +817,11 @@ module.BaseParser = {
// merge stage III... // merge stage III...
// //
// XXX FILTER should filters he handled here or in .resolve(..) ??? // - ensure the ast is fully resolved
// ...and how do we handle filters in @include(..)'s??? // - apply nested stage III handlers
// - apply filters on whole ast
//
//
merge: function(page, ast, state={}, nested_handlers={}, wait='wait'){ merge: function(page, ast, state={}, nested_handlers={}, wait='wait'){
var that = this var that = this
@ -852,7 +855,6 @@ module.BaseParser = {
return Promise.awaitOrRun( return Promise.awaitOrRun(
state[wait], state[wait],
function(){ function(){
//ast = stage3(ast)
// NOTE: in an async world where any promised macro can // NOTE: in an async world where any promised macro can
// call .exec(..) / .execNested(..) we can't trust // call .exec(..) / .execNested(..) we can't trust
// the lack of .unresolved in state... // the lack of .unresolved in state...