1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-05 23:35:48 +03:00

moved the extension dump out of the loop Daniel

* xsltproc/xsltproc.c: moved the extension dump out of the loop
Daniel
This commit is contained in:
Daniel Veillard
2002-05-16 17:38:09 +00:00
parent 0f879dd4f2
commit d2eb315a3d
2 changed files with 7 additions and 3 deletions

View File

@@ -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();