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:
parent
2a653e45fd
commit
20106bb90f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user