summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--parser.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 566330fa..be8b45e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Oct 31 15:35:20 CET 2003 Daniel Veillard <daniel@veillard.com>
+
+ * parser.c: always generate line numbers
+
Fri Oct 31 11:53:46 CET 2003 Daniel Veillard <daniel@veillard.com>
* parser.c: fixed another regression introduced in fixing #125823
diff --git a/parser.c b/parser.c
index ad398e38..7680e3a5 100644
--- a/parser.c
+++ b/parser.c
@@ -12385,6 +12385,7 @@ xmlCtxtUseOptions(xmlParserCtxtPtr ctxt, int options)
ctxt->options |= XML_PARSE_NSCLEAN;
options -= XML_PARSE_NSCLEAN;
}
+ ctxt->linenumbers = 1;
return (options);
}