瀏覽代碼

+ write name of missing feature in error message

git-svn-id: trunk@29211 -
florian 10 年之前
父節點
當前提交
25e19f27a0
共有 4 個文件被更改,包括 180 次插入180 次删除
  1. 1 1
      compiler/msg/errore.msg
  2. 1 1
      compiler/msgidx.inc
  3. 177 177
      compiler/msgtxt.inc
  4. 1 1
      compiler/pdecl.pas

+ 1 - 1
compiler/msg/errore.msg

@@ -704,7 +704,7 @@ parser_e_comparative_operator_return_boolean=03090_E_Comparative operator must r
 parser_e_only_virtual_methods_abstract=03091_E_Only virtual methods can be abstract
 % You are declaring a method as abstract, when it is not declared to be
 % virtual.
-parser_f_unsupported_feature=03092_F_Use of unsupported feature!
+parser_f_unsupported_feature=03092_F_Use of unsupported feature: "$1".
 % You're trying to force the compiler into doing something it cannot do yet.
 parser_e_mix_of_classes_and_objects=03093_E_The mix of different kind of objects (class, object, interface, etc) isn't allowed
 % You cannot derive \var{objects}, \var{classes}, \var{cppclasses} and \var{interfaces} intertwined. E.g.

+ 1 - 1
compiler/msgidx.inc

@@ -994,7 +994,7 @@ const
   option_info=11024;
   option_help_pages=11025;
 
-  MsgTxtSize = 73915;
+  MsgTxtSize = 73921;
 
   MsgIdxMax : array[1..20] of longint=(
     26,99,339,123,89,57,126,27,202,64,

文件差異過大導致無法顯示
+ 177 - 177
compiler/msgtxt.inc


+ 1 - 1
compiler/pdecl.pas

@@ -915,7 +915,7 @@ implementation
           read_var_decls([vd_threadvar])
         else
           begin
-            Message(parser_f_unsupported_feature);
+            Message1(parser_f_unsupported_feature,featurestr[f_threading]);
             read_var_decls([]);
           end;
       end;

部分文件因文件數量過多而無法顯示