forked from teamnwah/openmw-tes3coop
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')
|
||||
special = S_newline;
|
||||
else if (c=='(')
|
||||
else if (c=='(' || c=='[') /// \todo option to disable the use of [ as alias for (
|
||||
special = S_open;
|
||||
else if (c==')')
|
||||
else if (c==')' || c==']') /// \todo option to disable the use of ] as alias for )
|
||||
special = S_close;
|
||||
else if (c=='.')
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue