1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 18:29:55 +00:00

allow backticks in names

This commit is contained in:
Marc Zinnschlag 2013-07-07 16:09:26 +02:00
parent a2aa3aaa0e
commit 4a75c7dcc0

View file

@ -343,7 +343,7 @@ namespace Compiler
}
else if (!(c=='"' && name.empty()))
{
if (!(std::isalpha (c) || std::isdigit (c) || c=='_' ||
if (!(std::isalpha (c) || std::isdigit (c) || c=='_' || c=='`' ||
/// \todo add an option to disable the following hack. Also, find out who is
/// responsible for allowing it in the first place and meet up with that person in
/// a dark alley.