From b7e47bd8c2593da1ef990f8c09c4d5ee321955f5 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Wed, 5 Apr 2000 21:01:11 +0000 Subject: [PATCH] - fixed a small oops: iprint() didn't reset the number output format to decimal --- ginsh/ginsh_parser.yy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ginsh/ginsh_parser.yy b/ginsh/ginsh_parser.yy index 52a134f5..7e9049f7 100644 --- a/ginsh/ginsh_parser.yy +++ b/ginsh/ginsh_parser.yy @@ -145,7 +145,7 @@ line : ';' long i = ex_to_numeric(e).to_long(); cout << i << endl; cout << "#o" << oct << i << endl; - cout << "#x" << hex << i << endl; + cout << "#x" << hex << i << dec << endl; } catch (exception &e) { cerr << e.what() << endl; YYERROR; -- 2.44.0