From 301b56b3ebeccc801b56f031d97e8ff2e616c073 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 10 Aug 2020 12:13:29 +0000 Subject: [PATCH] allowed a dash to be an identifier letter in sttp --- qse/include/qse/sttp/Sttp.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qse/include/qse/sttp/Sttp.hpp b/qse/include/qse/sttp/Sttp.hpp index f008727b..1220b4ca 100644 --- a/qse/include/qse/sttp/Sttp.hpp +++ b/qse/include/qse/sttp/Sttp.hpp @@ -131,7 +131,7 @@ private: bool is_ident_char (qse_char_t c) { - return QSE_ISALNUM(c) || c == QSE_T('_') || c == QSE_T('.') || c == QSE_T('*') || c == QSE_T('@'); + return QSE_ISALNUM(c) || c == QSE_T('_') || c == QSE_T('-') || c == QSE_T('.') || c == QSE_T('*') || c == QSE_T('@'); } void add_char_to_token (qse_char_t c)