From 39e9c85f2c021d93f2d3f7bb6c53ff86c24abbc5 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 10 Sep 2022 04:14:54 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- pwiki2.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pwiki2.js b/pwiki2.js index de609fa..8703f44 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -1,8 +1,6 @@ /********************************************************************** * * -* XXX BUG: '@include(@(arg))' does not parse correctly while @include("@(arg)") does... -* ...likely due to the regexp not counting the brace balance... * XXX BUG CHROME: can't .get(..) a generator... * https://bugs.chromium.org/p/chromium/issues/detail?id=1361981 * when done test: @@ -313,6 +311,10 @@ * (see: pwiki/page.js: Page.macros.include(..) notes) * - slot order -- * (see: page.js: Page's .macros.slot(..) notes) +* - arguments in macros that contain macros must be in quotes, e.g. +* @include("./*:@(all)") +* otherwise the macro will end on the first ')'... +* - :all argument to all pattern paths... * * * XXX weaknesses to review: