|
@@ -1345,7 +1345,6 @@ implementation
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
vs.register_sym;
|
|
vs.register_sym;
|
|
- symtablestack.top.insert(vs);
|
|
|
|
if isgeneric then
|
|
if isgeneric then
|
|
begin
|
|
begin
|
|
{ ensure correct error position }
|
|
{ ensure correct error position }
|
|
@@ -1353,7 +1352,9 @@ implementation
|
|
current_filepos:=tmp_filepos;
|
|
current_filepos:=tmp_filepos;
|
|
symtablestack.top.insert(vs);
|
|
symtablestack.top.insert(vs);
|
|
current_filepos:=old_current_filepos;
|
|
current_filepos:=old_current_filepos;
|
|
- end;
|
|
|
|
|
|
+ end
|
|
|
|
+ else
|
|
|
|
+ symtablestack.top.insert(vs);
|
|
end;
|
|
end;
|
|
until not try_to_consume(_COMMA);
|
|
until not try_to_consume(_COMMA);
|
|
|
|
|