X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Finput_lexer.ll;h=6c22ec08dbca76c800fea1654292a3c23c4ae9b0;hp=34cba11f045fe7921e9122be3e93f7d8ee83ee0a;hb=f5536efa098703ce4e857aa079db6d29d06f3ac6;hpb=d508ca04e9c2f4ee103c9f21f33a98c87116df13 diff --git a/ginac/input_lexer.ll b/ginac/input_lexer.ll index 34cba11f..6c22ec08 100644 --- a/ginac/input_lexer.ll +++ b/ginac/input_lexer.ll @@ -39,16 +39,12 @@ #include "numeric.h" #include "symbol.h" -#ifndef NO_NAMESPACE_GINAC using namespace GiNaC; namespace GiNaC { -#endif // ndef NO_NAMESPACE_GINAC #include "input_parser.h" -#ifndef NO_NAMESPACE_GINAC } // namespace GiNaC -#endif // ndef NO_NAMESPACE_GINAC // Table of all used symbols struct sym_def { @@ -164,9 +160,7 @@ int ginac_yywrap() return 1; } -#ifndef NO_NAMESPACE_GINAC namespace GiNaC { -#endif // ndef NO_NAMESPACE_GINAC // Set the input string void set_lexer_string(const std::string &s) @@ -197,6 +191,4 @@ bool is_lexer_symbol_predefined(const ex &s) return (*i).second.predefined; } -#ifndef NO_NAMESPACE_GINAC } // namespace GiNaC -#endif // ndef NO_NAMESPACE_GINAC