From d17f967e66a68b4e989047b670e8a29dbe4db14e Mon Sep 17 00:00:00 2001 From: ThePhD Date: Sun, 7 Apr 2019 23:11:44 -0400 Subject: [PATCH] fix some unicode constants --- include/sol/unicode.hpp | 5 ++++- single/include/sol/forward.hpp | 4 ++-- single/include/sol/sol.hpp | 9 ++++++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/include/sol/unicode.hpp b/include/sol/unicode.hpp index de2d60c4..6c89af66 100644 --- a/include/sol/unicode.hpp +++ b/include/sol/unicode.hpp @@ -19,10 +19,13 @@ namespace sol { }; inline const string_view& to_string(error_code ec) { - static const string_view storage[4] = { + static const string_view storage[7] = { "ok", "invalid code points", "invalid code unit", + "invalid leading surrogate", + "invalid trailing surrogate", + "sequence too short", "overlong sequence" }; return storage[static_cast(ec)]; diff --git a/single/include/sol/forward.hpp b/single/include/sol/forward.hpp index 662b83af..470c27b1 100644 --- a/single/include/sol/forward.hpp +++ b/single/include/sol/forward.hpp @@ -20,8 +20,8 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // This file was generated with a script. -// Generated 2019-04-06 01:26:37.932828 UTC -// This header was generated with sol v3.0.1-beta2 (revision 2f76078) +// Generated 2019-04-08 03:11:15.372045 UTC +// This header was generated with sol v3.0.1-beta2 (revision 7cce3e4) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP diff --git a/single/include/sol/sol.hpp b/single/include/sol/sol.hpp index eaa1e0e9..9ade98af 100644 --- a/single/include/sol/sol.hpp +++ b/single/include/sol/sol.hpp @@ -20,8 +20,8 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // This file was generated with a script. -// Generated 2019-04-06 01:26:37.624327 UTC -// This header was generated with sol v3.0.1-beta2 (revision 2f76078) +// Generated 2019-04-08 03:11:10.821035 UTC +// This header was generated with sol v3.0.1-beta2 (revision 7cce3e4) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -11118,10 +11118,13 @@ namespace sol { }; inline const string_view& to_string(error_code ec) { - static const string_view storage[4] = { + static const string_view storage[7] = { "ok", "invalid code points", "invalid code unit", + "invalid leading surrogate", + "invalid trailing surrogate", + "sequence too short", "overlong sequence" }; return storage[static_cast(ec)];