summaryrefslogtreecommitdiff
path: root/3rdparty/libconfig/extra/gen
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-11-20 00:47:22 +0100
committerHaru <haru@dotalux.com>2016-11-20 18:10:47 +0100
commitc12429cd00ce531b2ff685c201d74e2576c2a4aa (patch)
tree085bcf17d42535c93083dba8f5870c2223684fd6 /3rdparty/libconfig/extra/gen
parent149a531652da670c3f9c796d73e17b5a985383c1 (diff)
downloadhercules-c12429cd00ce531b2ff685c201d74e2576c2a4aa.tar.gz
hercules-c12429cd00ce531b2ff685c201d74e2576c2a4aa.tar.bz2
hercules-c12429cd00ce531b2ff685c201d74e2576c2a4aa.tar.xz
hercules-c12429cd00ce531b2ff685c201d74e2576c2a4aa.zip
Removed support for apostrophes in libconfig key names
The apostrophe (`'`) is no longer an allowed symbol in libconfig key names. It is no longer necessary since it is no longer allowed in constant names. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to '3rdparty/libconfig/extra/gen')
-rw-r--r--3rdparty/libconfig/extra/gen/scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/libconfig/extra/gen/scanner.l b/3rdparty/libconfig/extra/gen/scanner.l
index f717ac273..60ede1ca7 100644
--- a/3rdparty/libconfig/extra/gen/scanner.l
+++ b/3rdparty/libconfig/extra/gen/scanner.l
@@ -88,7 +88,7 @@ static unsigned long long fromhex(const char *s)
true [Tt][Rr][Uu][Ee]
false [Ff][Aa][Ll][Ss][Ee]
-name [A-Za-z0-9\*][-A-Za-z0-9_\*'.]*
+name [A-Za-z0-9\*][-A-Za-z0-9_\*.]*
integer [-+]?[0-9]+
integer64 [-+]?[0-9]+L(L)?
hex 0[Xx][0-9A-Fa-f]+