add timestamp

This commit is contained in:
blueloveTH 2022-11-12 16:01:04 +08:00
parent 9256186cb1
commit 01bce1daf8
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ const _Int _Int_MAX_NEG = -9223372036854775807LL;
const _Float _FLOAT_INF_POS = INFINITY;
const _Float _FLOAT_INF_NEG = -INFINITY;
#define PK_VERSION "0.2.0"
#define PK_VERSION "0.2.1"
class PyObject;
class CodeObject;

View File

@ -27,7 +27,7 @@ class REPL {
public:
REPL(VM* vm, bool use_prompt=true) : vm(vm), use_prompt(use_prompt) {
vm->_stdout("pocketpy " PK_VERSION "\n");
vm->_stdout("pocketpy " PK_VERSION " (" __DATE__ ", " __TIME__ ")\n");
vm->_stdout("https://github.com/blueloveTH/pocketpy" "\n");
vm->_stdout("Type \"exit()\" to exit." "\n");
_loop_start();