X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh.h;h=15a106aa85b3d8ec38cf8b2bf3235107d31199bc;hp=780d0f927376bb463587c5d3071f1b369b8db46b;hb=cca88b51436e4b654d16a4d60cd0d1c66fcf5dd6;hpb=e7cc6a764ff67b5885d6633385fac23ccc1dc9a7 diff --git a/ginsh/ginsh.h b/ginsh/ginsh.h index 780d0f92..15a106aa 100644 --- a/ginsh/ginsh.h +++ b/ginsh/ginsh.h @@ -2,7 +2,7 @@ * * Global definitions for ginsh. * - * GiNaC Copyright (C) 1999-2002 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2014 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 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef GINSH_H @@ -56,13 +56,9 @@ using namespace GiNaC; #define YYSTYPE ex // lex functions/variables -extern int yyerror(char *s); +extern int yyerror(const char *s); extern int yylex(void); -#if YYTEXT_POINTER extern char *yytext; -#else -extern char yytext[]; -#endif extern FILE *yyin; // List of input files to be processed @@ -70,7 +66,10 @@ extern int num_files; extern char **file_list; // Table of all used symbols -typedef map sym_tab; +typedef map sym_tab; extern sym_tab syms; +// Type of symbols to generate (real or complex) +extern unsigned symboltype; + #endif