mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-23 03:47:34 -04:00
allow [] as aliases for ()
This commit is contained in:
parent
0313876d88
commit
c03bd8ebb6
@ -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…
x
Reference in New Issue
Block a user