From: Christian Bauer Date: Wed, 5 Apr 2000 21:01:11 +0000 (+0000) Subject: - fixed a small oops: iprint() didn't reset the number output format to decimal X-Git-Tag: release_0-6-0~29 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=b7e47bd8c2593da1ef990f8c09c4d5ee321955f5 - fixed a small oops: iprint() didn't reset the number output format to decimal --- 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;