1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-06 02:15:32 +00:00

allow keywords in quotes (Fixes #2794)

This commit is contained in:
Marc Zinnschlag 2015-07-29 14:45:56 +02:00
parent 2a653e45fd
commit 20106bb90f

View file

@ -281,8 +281,10 @@ namespace Compiler
if (name.size()>=2 && name[0]=='"' && name[name.size()-1]=='"')
{
name = name.substr (1, name.size()-2);
cont = parser.parseName (name, loc, *this);
return true;
// allow keywords enclosed in ""
/// \todo optionally disable
// cont = parser.parseName (name, loc, *this);
// return true;
}
int i = 0;