Author: particle
Date: Wed Oct 26 13:31:21 2005
New Revision: 9579

Modified:
   trunk/imcc/parser_util.c
Log:
[perl #37541] more helpful error message when opcode not found
Courtesy of Allison Randal.

Modified: trunk/imcc/parser_util.c
==============================================================================
--- trunk/imcc/parser_util.c    (original)
+++ trunk/imcc/parser_util.c    Wed Oct 26 13:31:21 2005
@@ -518,8 +518,8 @@ INS(Interp *interpreter, IMC_Unit * unit
     }
     if (op < 0) {
         IMCC_fataly(interpreter, E_SyntaxError,
-            "op not found '%s' (%s<%d>)\n",
-                fullname, name, n);
+            "The opcode '%s' (%s<%d>) was not found. Check the type and number 
of the arguments",
+            fullname, name, n);
     }
     op_info = &interpreter->op_info_table[op];
 

Reply via email to