Skip to content

Commit 5a2e0d7

Browse files
authored
Merge pull request #444 from antfu/fix/parser-log
fix: parser log for expand macros
2 parents 9f5cd40 + 5b5875d commit 5a2e0d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/parser.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -691,9 +691,9 @@ function compile(
691691
var macros = extractMacros(lang, txt, { lib, reader });
692692
txt = expandMacros(txt, macros);
693693

694-
console.log("\n\n=== [PASS 0] EXPAND-MACROS ===");
695-
console.log(macros);
696-
// console.log(txt);
694+
logCallback("\n\n=== [PASS 0] EXPAND-MACROS ===");
695+
logCallback(macros);
696+
// logCallback(txt);
697697

698698
var tokens = wy2tokens(txt, assert);
699699

0 commit comments

Comments
 (0)