Explorar el Código

* another error message changed into a better one

git-svn-id: trunk@46947 -
florian hace 5 años
padre
commit
df6baa888b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/ngtcon.pas

+ 1 - 1
compiler/ngtcon.pas

@@ -860,7 +860,7 @@ function get_next_varsym(def: tabstractrecorddef; const SymList:TFPHashObjectLis
                 end
               else
                 begin
-                  IncompatibleTypes(node.resultdef, def);
+                  Message(parser_e_illegal_expression);
                   datadef:=carraydef.getreusable(cansichartype,1);
                 end;
               ftcb.finish_internal_data_builder(datatcb,ll,datadef,varalign);