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:
parent
2a653e45fd
commit
20106bb90f
1 changed files with 4 additions and 2 deletions
|
@ -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 a new issue