瀏覽代碼

* fixed locationstr having nonsense values in some cases

Károly Balogh 21 年之前
父節點
當前提交
70cbf1f878
共有 1 個文件被更改,包括 9 次插入3 次删除
  1. 9 3
      compiler/pdecsub.pas

+ 9 - 3
compiler/pdecsub.pas

@@ -464,8 +464,11 @@ implementation
                         consume(_CSTRING);
                         consume(_CSTRING);
                       end
                       end
                     else
                     else
-                      if explicit_paraloc then
-                        Message(parser_e_paraloc_all_paras);
+		      begin
+                        if explicit_paraloc then
+                          Message(parser_e_paraloc_all_paras);
+			locationstr:='';
+		      end;
                   end
                   end
                 else
                 else
                   locationstr:='';
                   locationstr:='';
@@ -2190,7 +2193,10 @@ const
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.166  2004-04-19 02:12:18  karoly
+  Revision 1.167  2004-04-28 00:20:43  karoly
+    * fixed locationstr having nonsense values in some cases
+
+  Revision 1.166  2004/04/19 02:12:18  karoly
    * quick fix for PowerPC/MorphOS location support
    * quick fix for PowerPC/MorphOS location support
 
 
   Revision 1.165  2004/04/18 15:22:24  florian
   Revision 1.165  2004/04/18 15:22:24  florian