]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh_parser.yy
*sigh* when will we move the Makefile.in's out of CVS?
[ginac.git] / ginsh / ginsh_parser.yy
index 52a134f599fb0a9e8fee39ab8bc482f3bfba505d..646cb020b2094283823319764d591830557c50bc 100644 (file)
@@ -145,13 +145,14 @@ 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;
                }
        }
        | '?' T_SYMBOL          {print_help(ex_to_symbol($2).getname());}
+       | '?' T_TIME            {print_help("time");}
        | '?' '?'               {print_help_topics();}
        | T_QUIT                {YYACCEPT;}
        | T_WARRANTY {