From: <bi...@us...> - 2008-09-13 19:42:55
|
Revision: 3307 http://oorexx.svn.sourceforge.net/oorexx/?rev=3307&view=rev Author: bigrixx Date: 2008-09-13 19:43:05 +0000 (Sat, 13 Sep 2008) Log Message: ----------- Fix error message for invalid method stem arg Modified Paths: -------------- main/trunk/interpreter/execution/RexxNativeActivation.cpp Modified: main/trunk/interpreter/execution/RexxNativeActivation.cpp =================================================================== --- main/trunk/interpreter/execution/RexxNativeActivation.cpp 2008-09-13 13:29:28 UTC (rev 3306) +++ main/trunk/interpreter/execution/RexxNativeActivation.cpp 2008-09-13 19:43:05 UTC (rev 3307) @@ -190,7 +190,14 @@ /* Function: Report a method signature error */ /******************************************************************************/ { - reportException(Error_Invalid_argument_nostem, position + 1, object); + if (activationType == METHOD_ACTIVATION) + { + reportException(Error_Incorrect_method_nostem, position + 1, object); + } + else + { + reportException(Error_Incorrect_call_nostem, position + 1, object); + } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |