From 01bce1daf8ca2a552df6e63f26e7acd56aeec1e9 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sat, 12 Nov 2022 16:01:04 +0800 Subject: [PATCH] add timestamp --- src/obj.h | 2 +- src/repl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/obj.h b/src/obj.h index 64703048..6589fba0 100644 --- a/src/obj.h +++ b/src/obj.h @@ -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; diff --git a/src/repl.h b/src/repl.h index cd83da2a..fad4c58a 100644 --- a/src/repl.h +++ b/src/repl.h @@ -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();