|
@@ -295,7 +295,11 @@ implementation
|
|
|
symtablestack.pop(tabstractrecorddef(def).symtable);
|
|
symtablestack.pop(tabstractrecorddef(def).symtable);
|
|
|
symtablestack.free;
|
|
symtablestack.free;
|
|
|
symtablestack:=oldsymtablestack;
|
|
symtablestack:=oldsymtablestack;
|
|
|
- if isspecialize then
|
|
|
|
|
|
|
+ if isspecialize or
|
|
|
|
|
+ (
|
|
|
|
|
+ (m_delphi in current_settings.modeswitches) and
|
|
|
|
|
+ (token=_LSHARPBRACKET)
|
|
|
|
|
+ ) then
|
|
|
begin
|
|
begin
|
|
|
if not allowspecialization then
|
|
if not allowspecialization then
|
|
|
Message(parser_e_no_local_para_def);
|
|
Message(parser_e_no_local_para_def);
|