mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 16:19:41 +00:00
allow [] as aliases for ()
This commit is contained in:
parent
0313876d88
commit
c03bd8ebb6
1 changed files with 2 additions and 2 deletions
|
@ -370,9 +370,9 @@ namespace Compiler
|
||||||
|
|
||||||
if (c=='\n')
|
if (c=='\n')
|
||||||
special = S_newline;
|
special = S_newline;
|
||||||
else if (c=='(')
|
else if (c=='(' || c=='[') /// \todo option to disable the use of [ as alias for (
|
||||||
special = S_open;
|
special = S_open;
|
||||||
else if (c==')')
|
else if (c==')' || c==']') /// \todo option to disable the use of ] as alias for )
|
||||||
special = S_close;
|
special = S_close;
|
||||||
else if (c=='.')
|
else if (c=='.')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue