* fixed web bug #4461

git-svn-id: trunk@1921 -
This commit is contained in:
Jonas Maebe 2005-12-10 21:57:33 +00:00
parent 07ea2a5b38
commit 4c6874504b

View File

@ -731,6 +731,8 @@ implementation
symdone:=false; symdone:=false;
sc.reset; sc.reset;
repeat repeat
if (token = _ID) then
begin
case symtablestack.symtabletype of case symtablestack.symtabletype of
localsymtable : localsymtable :
vs:=tlocalvarsym.create(orgpattern,vs_value,generrortype,[]); vs:=tlocalvarsym.create(orgpattern,vs_value,generrortype,[]);
@ -748,6 +750,7 @@ implementation
sc.insert(vs) sc.insert(vs)
else else
vs.free; vs.free;
end;
consume(_ID); consume(_ID);
until not try_to_consume(_COMMA); until not try_to_consume(_COMMA);
consume(_COLON); consume(_COLON);