X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh.h;h=973c6f0d9fb73bd1491025a6d50b2a506a11931e;hp=ffaf4e0da1b6d87f62415ec186f528ba461dbced;hb=69815a366be5ca81185386d94268d7e7dcce94e3;hpb=9237cb43a19b8ed83d3409ce187e9c67d6d7046c diff --git a/ginsh/ginsh.h b/ginsh/ginsh.h index ffaf4e0d..973c6f0d 100644 --- a/ginsh/ginsh.h +++ b/ginsh/ginsh.h @@ -29,8 +29,6 @@ #include #include -using namespace std; - #ifdef HAVE_READLINE_READLINE_H extern "C" { #include @@ -49,10 +47,8 @@ extern "C" { #include #endif -using namespace GiNaC; - // yacc stack type -#define YYSTYPE ex +#define YYSTYPE GiNaC::ex // lex functions/variables extern int yyerror(const char *s); @@ -65,7 +61,7 @@ extern int num_files; extern char **file_list; // Table of all used symbols -typedef map sym_tab; +typedef std::map sym_tab; extern sym_tab syms; // Type of symbols to generate (real or complex)