diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-05-16 17:38:09 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-05-16 17:38:09 +0000 |
commit | d2eb315a3d434332e285aa49329730c37f6da753 (patch) | |
tree | aefb78eb7b1c2f3914ffbec032a9a5e46fb888c2 | |
parent | 0f879dd4f2c764171adf0ee75277f51226971585 (diff) | |
download | libxslt-d2eb315a3d434332e285aa49329730c37f6da753.tar.gz libxslt-d2eb315a3d434332e285aa49329730c37f6da753.tar.bz2 libxslt-d2eb315a3d434332e285aa49329730c37f6da753.zip |
moved the extension dump out of the loop Daniel
* xsltproc/xsltproc.c: moved the extension dump out of the loop
Daniel
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | xsltproc/xsltproc.c | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ +Thu May 16 19:38:24 CEST 2002 Daniel Veillard <daniel@veillard.com> + + * xsltproc/xsltproc.c: moved the extension dump out of the loop + Thu May 16 19:31:35 CEST 2002 Daniel Veillard <daniel@veillard.com> * 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(); |