|
@@ -1181,16 +1181,17 @@ implementation
|
|
|
not((vd_object in options) and
|
|
|
(idtoken in [_PUBLIC,_PRIVATE,_PUBLISHED,_PROTECTED,_STRICT])) do
|
|
|
begin
|
|
|
- sorg:=orgpattern;
|
|
|
semicoloneaten:=false;
|
|
|
sc.clear;
|
|
|
repeat
|
|
|
- if try_to_consume(_ID) then
|
|
|
+ sorg:=orgpattern;
|
|
|
+ if token=_ID then
|
|
|
begin
|
|
|
- vs:=tfieldvarsym.create(orgpattern,vs_value,generrordef,[]);
|
|
|
+ vs:=tfieldvarsym.create(sorg,vs_value,generrordef,[]);
|
|
|
sc.add(vs);
|
|
|
recst.insert(vs);
|
|
|
end;
|
|
|
+ consume(_ID);
|
|
|
until not try_to_consume(_COMMA);
|
|
|
consume(_COLON);
|
|
|
|