1
0
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:
Marc Zinnschlag 2014-02-13 08:59:33 +01:00
parent 0313876d88
commit c03bd8ebb6

View File

@ -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=='.')
{