Skip to content

Commit 75ddc3a

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

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
@@ -74,12 +74,12 @@ add_library(cs STATIC
7474
deflookup.cc
7575
html-writer.cc
7676
instream.cc
77-
json-parser.cc
7877
json-writer.cc
7978
parser.cc
8079
parser-common.cc
8180
parser-cov.cc
8281
parser-gcc.cc
82+
parser-json.cc
8383
shared-string.cc
8484
version.cc
8585
xml-parser.cc
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 "json-parser.hh"
20+
#include "parser-json.hh"
2121

2222
#include "abstract-tree.hh"
2323
#include "parser-common.hh"
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_JSON_PARSER_H
21-
#define H_GUARD_JSON_PARSER_H
20+
#ifndef H_GUARD_PARSER_JSON_H
21+
#define H_GUARD_PARSER_JSON_H
2222

2323
#include "parser.hh"
2424

@@ -40,4 +40,4 @@ class JsonParser: public AbstractParser {
4040
std::unique_ptr<Private> d;
4141
};
4242

43-
#endif /* H_GUARD_JSON_PARSER_H */
43+
#endif /* H_GUARD_PARSER_JSON_H */

src/parser.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
#include "parser.hh"
2121

22-
#include "json-parser.hh"
2322
#include "parser-cov.hh"
2423
#include "parser-gcc.hh"
24+
#include "parser-json.hh"
2525
#include "xml-parser.hh"
2626

2727
// TODO: remove this when we move to C++14

0 commit comments

Comments
 (0)