1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 03:39:14 +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;