summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-10-31 14:36:36 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-10-31 14:36:36 +0000
commit7ec29978bed182465cae9e58200d14073f173506 (patch)
treecc5322b7b4473a82a4275cb8e58feb44196e00fd
parentfd343dc36022e2c74ccd4c55c02c028e6db49ec3 (diff)
downloadlibxml2-7ec29978bed182465cae9e58200d14073f173506.tar.gz
always generate line numbers Daniel
* parser.c: always generate line numbers Daniel
-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);
}