Explorar o código

* fixed locationstr having nonsense values in some cases

Károly Balogh %!s(int64=21) %!d(string=hai) anos
pai
achega
70cbf1f878
Modificáronse 1 ficheiros con 9 adicións e 3 borrados
  1. 9 3
      compiler/pdecsub.pas

+ 9 - 3
compiler/pdecsub.pas

@@ -464,8 +464,11 @@ implementation
                         consume(_CSTRING);
                       end
                     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
                 else
                   locationstr:='';
@@ -2190,7 +2193,10 @@ const
 end.
 {
   $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
 
   Revision 1.165  2004/04/18 15:22:24  florian