[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Usata-commits] Changes to usata2/src/xml/parser.cpp
From: |
David Lau |
Subject: |
[Usata-commits] Changes to usata2/src/xml/parser.cpp |
Date: |
Tue, 22 Feb 2005 13:17:58 -0500 |
Index: usata2/src/xml/parser.cpp
diff -u usata2/src/xml/parser.cpp:1.1 usata2/src/xml/parser.cpp:1.2
--- usata2/src/xml/parser.cpp:1.1 Wed Feb 16 06:30:02 2005
+++ usata2/src/xml/parser.cpp Tue Feb 22 18:17:57 2005
@@ -10,7 +10,7 @@
// included in the software distribution, or visit
// http://www.fsf.org/licenses/gpl.html.
//
-// $Id: parser.cpp,v 1.1 2005/02/16 06:30:02 skunix Exp $
+// $Id: parser.cpp,v 1.2 2005/02/22 18:17:57 skunix Exp $
#define XML_INPUT_BUFFER_SIZE 1024
@@ -70,6 +70,12 @@
reset();
}
+ int
+ Parser::get_line()
+ {
+ return XML_GetCurrentLineNumber(mParserData->parser);
+ }
+
bool
Parser::parse_chunk(const char* buffer, unsigned len, bool last)
{