]> www.ginac.de Git - ginac.git/blobdiff - ginac/input_lexer.h
- Inserted some more std:: to make it compile under GCC2.96.
[ginac.git] / ginac / input_lexer.h
index e67ae9236e4fa4c1f460ae65df1da4e04e29a600..db3e622663f328ef6aa9230f105ae3c8fe9766a4 100644 (file)
 #ifndef __GINAC_INPUT_LEXER_H__
 #define __GINAC_INPUT_LEXER_H__
 
+extern "C" {
 #include <stdio.h>
-
+}
+       
 #include "config.h"
 
 // yacc stack type
@@ -48,7 +50,7 @@ namespace GiNaC {
 class ex;
 
 /** Set the input string to be parsed by ginac_yyparse() (used internally). */
-extern void set_lexer_string(const string &s);
+extern void set_lexer_string(const std::string &s);
 
 /** Set the list of predefined symbols for the lexer (used internally). */
 extern void set_lexer_symbols(ex l);
@@ -63,7 +65,7 @@ extern int ginac_yyparse();
 extern ex parsed_ex;
 
 /** Get error message from the parser. */
-extern string get_parser_error(void);
+extern std::string get_parser_error(void);
 
 #ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC