mirror of
https://github.com/louisrubet/rpn
synced 2025-01-01 18:20:06 +01:00
Change rpn-general-core.h to rpn-test-core.h, and change verbosity usage
This commit is contained in:
parent
76160d9c8d
commit
5f899ceac7
1 changed files with 5 additions and 3 deletions
|
@ -179,7 +179,7 @@ public:
|
|||
type = (cmd_type_t)seq_type(i);
|
||||
|
||||
//
|
||||
if (g_verbose >= 1)
|
||||
if (g_verbose >= 2)
|
||||
{
|
||||
cout << "(" << i << ") ";
|
||||
((object*)seq_obj(i))->show();
|
||||
|
@ -458,9 +458,11 @@ public:
|
|||
return ret_ok;
|
||||
}
|
||||
}
|
||||
return ret_unknown_err;
|
||||
return ret_unknown_err;
|
||||
}
|
||||
|
||||
ret_value get_err(void) { return _err; }
|
||||
|
||||
// interactive entry and decoding
|
||||
static ret_value entry(program& prog)
|
||||
{
|
||||
|
@ -693,7 +695,7 @@ private:
|
|||
//keywords declaration
|
||||
#include "rpn-cmd.h"
|
||||
|
||||
#include "rpn-general-core.h"
|
||||
#include "rpn-test-core.h"
|
||||
|
||||
//
|
||||
static void apply_default(void)
|
||||
|
|
Loading…
Reference in a new issue