浏览代码

* set result of searchsym_in_record() in case nothing was found

git-svn-id: trunk@17161 -
Jonas Maebe 14 年之前
父节点
当前提交
10674153cf
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/symtable.pas

+ 1 - 0
compiler/symtable.pas

@@ -2199,6 +2199,7 @@ implementation
       var
         hashedid : THashedIDString;
       begin
+        result:=false;
         hashedid.id:=s;
         srsymtable:=recordh.symtable;
         srsym:=tsym(srsymtable.FindWithHash(hashedid));