From 321953e83382fec64fcdb6299793e23ee487506b Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Wed, 2 Dec 2009 11:38:17 +0000 Subject: [PATCH] fixed: the parser didn't use characters for changing the base (# and &) those characters were skipped (this bug was introduced in 0.9.0) git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@255 e52654a7-88a9-db11-a3e9-0013d4bc506e --- CHANGELOG | 5 +++++ ttmath/ttmathparser.h | 2 +- ttmath/ttmathtypes.h | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index de04e4f..8add038 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +Version 0.9.1 (2009.12.02): + * fixed: the parser didn't use characters for changing the base (# and &) + those characters were skipped + (this bug was introduced in 0.9.0) + Version 0.9.0 (2009.11.25): * added: support for wide characters (wchar_t, std::wstring) * added: Big::IsInteger() diff --git a/ttmath/ttmathparser.h b/ttmath/ttmathparser.h index 5829e0b..1bb6537 100644 --- a/ttmath/ttmathparser.h +++ b/ttmath/ttmathparser.h @@ -1746,7 +1746,7 @@ const char * new_stack_pointer; bool value_read; Conv conv; - conv.base = base; + conv.base = reading_base; conv.comma = comma; conv.comma2 = comma2; conv.group = group; diff --git a/ttmath/ttmathtypes.h b/ttmath/ttmathtypes.h index ed28f77..72230ed 100644 --- a/ttmath/ttmathtypes.h +++ b/ttmath/ttmathtypes.h @@ -64,8 +64,8 @@ */ #define TTMATH_MAJOR_VER 0 #define TTMATH_MINOR_VER 9 -#define TTMATH_REVISION_VER 0 -#define TTMATH_PRERELEASE_VER 0 +#define TTMATH_REVISION_VER 1 +#define TTMATH_PRERELEASE_VER 1 /*!