From 188bdfe131f3a4794fe94c9b6a427b28315e4a05 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 28 Jul 2022 11:42:42 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- pwiki2.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pwiki2.js b/pwiki2.js index 3b6782d..8de0f05 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -1464,8 +1464,10 @@ module.BaseParser = { // } // // - // NOTE: this internally uses macros' keys to generate the lexing pattern. + // NOTE: this internally uses page.macros' keys to generate the + // lexing pattern. lex: function*(page, str){ + // XXX we can't get .raw from the page without going async... //str = str // ?? page.raw // NOTE: we are doing a separate pass for comments to completely @@ -1563,9 +1565,10 @@ module.BaseParser = { // ... // } // - // NOTE: this internaly uses macros to check for propper nesting + // NOTE: this internaly uses page.macros to check for propper nesting //group: function*(page, lex, to=false){ group: function*(page, lex, to=false, parent){ + // XXX we can't get .raw from the page without going async... //lex = lex // ?? this.lex(page) lex = typeof(lex) == 'string' ?