Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
67a06834
Commit
67a06834
authored
Mar 22, 2017
by
Niels Lohmann
Committed by
GitHub
Mar 22, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #526 from krzysztofwos/feature/exception-base-class
Make exception base class visible in basic_json
parents
31a6c091
b9c3b8d6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
Makefile
Makefile
+4
-1
json.hpp
src/json.hpp
+2
-0
json.hpp.re2c
src/json.hpp.re2c
+2
-0
No files found.
Makefile
View file @
67a06834
.PHONY
:
pretty clean ChangeLog.md
# used programs
RE2C
=
re2c
RE2C
:=
$(
shell
command
-v
re2c 2> /dev/null
)
SED
=
sed
# main target
...
...
@@ -185,6 +185,9 @@ clang_sanitize: clean
# create scanner with re2c
re2c
:
src/json.hpp.re2c
ifndef
RE2C
$(error
"re2c is not available, please install re2c"
)
endif
$(RE2C)
-W
--utf-8
--encoding-policy
fail
--bit-vectors
--nested-ifs
--no-debug-info
$<
|
$(SED)
'1d'
>
src/json.hpp
# pretty printer
...
...
src/json.hpp
View file @
67a06834
...
...
@@ -1264,6 +1264,8 @@ class basic_json
/// Classes to implement user-defined exceptions.
/// @{
/// @copydoc detail::exception
using
exception
=
detail
::
exception
;
/// @copydoc detail::parse_error
using
parse_error
=
detail
::
parse_error
;
/// @copydoc detail::invalid_iterator
...
...
src/json.hpp.re2c
View file @
67a06834
...
...
@@ -1264,6 +1264,8 @@ class basic_json
/// Classes to implement user-defined exceptions.
/// @{
/// @copydoc detail::exception
using exception = detail::exception;
/// @copydoc detail::parse_error
using parse_error = detail::parse_error;
/// @copydoc detail::invalid_iterator
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment