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