X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Finput_lexer.h;h=0b4f8bd65cdb3a4f1783b2e9f7145750bc27b6fc;hp=4bb38f9e35dba0e6fd43032946b6ce439f3a405e;hb=aa6281216091efd92dc5fcc3f96c7189114e80f1;hpb=703c6cebb5d3d395437e73e6935f3691aed68e0a diff --git a/ginac/input_lexer.h b/ginac/input_lexer.h index 4bb38f9e..0b4f8bd6 100644 --- a/ginac/input_lexer.h +++ b/ginac/input_lexer.h @@ -4,7 +4,7 @@ * This file must be processed with flex. */ /* - * GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2001 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 @@ -43,14 +43,12 @@ extern char *ginac_yytext; extern char ginac_yytext[]; #endif -#ifndef NO_NAMESPACE_GINAC namespace GiNaC { -#endif // ndef NO_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); @@ -67,8 +65,6 @@ extern ex parsed_ex; /** Get error message from the parser. */ extern std::string get_parser_error(void); -#ifndef NO_NAMESPACE_GINAC } // namespace GiNaC -#endif // ndef NO_NAMESPACE_GINAC #endif // ndef __GINAC_INPUT_LEXER_H__