mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 04:06:08 +02:00
* allow nested array constructors inside normal code blocks (body & except)
git-svn-id: trunk@36102 -
This commit is contained in:
parent
8f4ef91efb
commit
6d512ddac7
@ -3290,7 +3290,7 @@ implementation
|
||||
allow_array_constructor:=old_allow_array_constructor;
|
||||
{ there could be more elements }
|
||||
until not try_to_consume(_COMMA);
|
||||
buildp.allow_array_constructor:=allow_array_constructor;
|
||||
buildp.allow_array_constructor:=block_type in [bt_body,bt_except];
|
||||
factor_read_set:=buildp;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user