mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 19:53:53 +00:00
make [ a whitespace character in scripts (Fixes #2126)
This commit is contained in:
parent
5eb9fd81e1
commit
95dfb07816
1 changed files with 2 additions and 1 deletions
|
@ -512,7 +512,8 @@ namespace Compiler
|
||||||
|
|
||||||
bool Scanner::isWhitespace (char c)
|
bool Scanner::isWhitespace (char c)
|
||||||
{
|
{
|
||||||
return c==' ' || c=='\t';
|
return c==' ' || c=='\t'
|
||||||
|
|| c=='['; ///< \todo disable this when doing more strict compiling
|
||||||
}
|
}
|
||||||
|
|
||||||
// constructor
|
// constructor
|
||||||
|
|
Loading…
Reference in a new issue