From cfac69f4e50659944f4e45b04013ec8d5c8fc28d Mon Sep 17 00:00:00 2001 From: urchlay Date: Fri, 24 Jun 2005 12:10:31 +0000 Subject: [PATCH] Fixed parser problem that Steve found. Checking this in "blind" (can't compile: missing ToggleBitWidget.[ch]xx) git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@555 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/debugger/DebuggerParser.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stella/src/debugger/DebuggerParser.cxx b/stella/src/debugger/DebuggerParser.cxx index 10ffd805e..63877eeb9 100644 --- a/stella/src/debugger/DebuggerParser.cxx +++ b/stella/src/debugger/DebuggerParser.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: DebuggerParser.cxx,v 1.32 2005-06-23 18:11:58 stephena Exp $ +// $Id: DebuggerParser.cxx,v 1.33 2005-06-24 12:10:31 urchlay Exp $ //============================================================================ #include "bspf.hxx" @@ -85,9 +85,11 @@ int DebuggerParser::decipher_arg(const string &str) { if(arg.substr(0, 1) == "%") { bin = true; + dec = false; arg.erase(0, 1); } else if(arg.substr(0, 1) == "#") { dec = true; + bin = false; arg.erase(0, 1); } else if(arg.substr(0, 1) == "$") { dec = false;