]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh.h
Happy new year!
[ginac.git] / ginsh / ginsh.h
index cf2a5827754c1e75145e23338559ad0d351f0e07..8e3209dfa41b9111bf32996705af282e20b8e6fe 100644 (file)
@@ -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 <string.h>
 
 #include <map>
+#include <iostream>
 #include <string>
 
 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<string, symbol> sym_tab;
 extern sym_tab syms;
 
+// Type of symbols to generate (real or complex)
+extern unsigned symboltype;
+
 #endif