allowed a dash to be an identifier letter in sttp

This commit is contained in:
hyung-hwan 2020-08-10 12:13:29 +00:00
parent 0702fe331a
commit 301b56b3eb

View File

@ -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)