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