]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh.h
Remove 'discardable' option from ctors of container and derived classes.
[ginac.git] / ginsh / ginsh.h
index a4159b670c7b0b5184c6ebec0c7ddfbf0224ca8f..9b2d0d4cab2a4e8ebd5cb03a85f833ab2ea870f6 100644 (file)
@@ -2,7 +2,7 @@
  *
  *  Global definitions for ginsh.
  *
- *  GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2015 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -56,7 +56,7 @@ using namespace GiNaC;
 #define YYSTYPE ex
 
 // lex functions/variables
-extern int yyerror(char *s);
+extern int yyerror(const char *s);
 extern int yylex(void);
 extern char *yytext;
 extern FILE *yyin;
@@ -66,7 +66,7 @@ extern int num_files;
 extern char **file_list;
 
 // Table of all used symbols
-typedef map<string, symbol> sym_tab;
+typedef map<string, ex> sym_tab;
 extern sym_tab syms;
 
 // Type of symbols to generate (real or complex)