Skip to content

Commit 3f3369b

Browse files
committed
parser-xml: renamed from xml-parser
All modules for input format parsers now have the `parser-` prefix.
1 parent 75ddc3a commit 3f3369b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ add_library(cs STATIC
8080
parser-cov.cc
8181
parser-gcc.cc
8282
parser-json.cc
83+
parser-xml.cc
8384
shared-string.cc
8485
version.cc
85-
xml-parser.cc
8686
)
8787

8888
# link cslib.a and boost libraries
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* along with csdiff. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

20-
#include "xml-parser.hh"
20+
#include "parser-xml.hh"
2121

2222
#include "abstract-tree.hh"
2323

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* along with csdiff. If not, see <http://www.gnu.org/licenses/>.
1818
*/
1919

20-
#ifndef H_GUARD_XML_PARSER_H
21-
#define H_GUARD_XML_PARSER_H
20+
#ifndef H_GUARD_PARSER_XML_H
21+
#define H_GUARD_PARSER_XML_H
2222

2323
#include "parser.hh"
2424

@@ -35,4 +35,4 @@ class XmlParser: public AbstractParser {
3535
std::unique_ptr<Private> d;
3636
};
3737

38-
#endif /* H_GUARD_XML_PARSER_H */
38+
#endif /* H_GUARD_PARSER_XML_H */

src/parser.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "parser-cov.hh"
2323
#include "parser-gcc.hh"
2424
#include "parser-json.hh"
25-
#include "xml-parser.hh"
25+
#include "parser-xml.hh"
2626

2727
// TODO: remove this when we move to C++14
2828
// by mistake, std::make_unique was not included in C++11

0 commit comments

Comments
 (0)