X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh.h;h=8e3209dfa41b9111bf32996705af282e20b8e6fe;hp=cf2a5827754c1e75145e23338559ad0d351f0e07;hb=695f6ae955ec530cded8f21efd5569df39447f76;hpb=9711eff3300caffadf44b3b1bf7c6e096f26bfaa;ds=sidebyside diff --git a/ginsh/ginsh.h b/ginsh/ginsh.h index cf2a5827..8e3209df 100644 --- a/ginsh/ginsh.h +++ b/ginsh/ginsh.h @@ -2,7 +2,7 @@ * * Global definitions for ginsh. * - * GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2005 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 @@ -27,6 +27,7 @@ #include #include +#include #include using namespace std; @@ -57,11 +58,7 @@ using namespace GiNaC; // lex functions/variables extern int yyerror(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 @@ -72,4 +69,7 @@ extern char **file_list; typedef map sym_tab; extern sym_tab syms; +// Type of symbols to generate (real or complex) +extern unsigned symboltype; + #endif