From d2eb315a3d434332e285aa49329730c37f6da753 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Thu, 16 May 2002 17:38:09 +0000 Subject: moved the extension dump out of the loop Daniel * xsltproc/xsltproc.c: moved the extension dump out of the loop Daniel --- ChangeLog | 4 ++++ xsltproc/xsltproc.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 32102e72..b7d16606 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu May 16 19:38:24 CEST 2002 Daniel Veillard + + * xsltproc/xsltproc.c: moved the extension dump out of the loop + Thu May 16 19:31:35 CEST 2002 Daniel Veillard * libxslt/extensions.[ch] xsltproc/xsltproc.c win32/libxslt.def.src: diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c index 3fff5a87..843d4c5d 100644 --- a/xsltproc/xsltproc.c +++ b/xsltproc/xsltproc.c @@ -574,6 +574,9 @@ main(int argc, char **argv) exsltRegisterAll(); xsltRegisterTestModule(); + if (dumpextensions) + xsltDebugDumpExtensions(NULL); + for (i = 1; i < argc; i++) { if ((!strcmp(argv[i], "-maxdepth")) || (!strcmp(argv[i], "--maxdepth"))) { @@ -594,9 +597,6 @@ main(int argc, char **argv) i += 2; continue; } - if (dumpextensions) - xsltDebugDumpExtensions(NULL); - if ((argv[i][0] != '-') || (strcmp(argv[i], "-") == 0)) { if (timing) startTimer(); -- cgit v1.2.3