00001 00002 // 00003 // This file is part of Common Text Transformation Library. 00004 // Copyright (C) 1997-2009 by Igor Kholodov. 00005 // 00006 // Common Text Transformation Library is free software: you can 00007 // redistribute it and/or modify it under the terms of the 00008 // GNU Lesser General Public License as published by 00009 // the Free Software Foundation, either version 3 of the License, or 00010 // (at your option) any later version. 00011 // 00012 // Common Text Transformation Library is distributed in the hope 00013 // that it will be useful, but WITHOUT ANY WARRANTY; without even 00014 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00015 // PURPOSE. See the GNU Lesser General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU Lesser General Public 00018 // License along with Common Text Transformation Library. 00019 // If not, see <http://www.gnu.org/licenses/>. 00020 // 00021 // mailto:cttl@users.sourceforge.net 00022 // http://cttl.sourceforge.net/ 00023 // http://sourceforge.net/projects/cttl/ 00024 // 00026 00035 // cttl.h 00036 00037 #ifndef _CTTL_CTTL_H_INCLUDED_ 00038 #define _CTTL_CTTL_H_INCLUDED_ 00039 00041 #define CTTL_VERSION 301 00042 00043 //#define NDEBUG // define to stop assertions from being compiled 00044 //#define CTTL_TRACE_EVERYTHING // define to turn tracing on 00045 //#define CTTL_TRACE_EXPRESSION_TYPEID // define to show C++ specialized expression types 00046 //#define CTTL_TRACE_EXPRESSION_IMPL // define to show lexeme implementation file and line numbers 00047 00048 //#define CTTL_TRACE_RULES // define to turn light tracing on 00049 //#define CTTL_TRACE_TRIVIAL // define for trace messages only mode 00050 00051 #ifndef CTTL_STD_STRING 00052 00053 # define CTTL_STD_STRING std::string 00054 #endif // CTTL_STD_STRING 00055 00056 #ifndef CTTL_STD_WSTRING 00057 00058 # define CTTL_STD_WSTRING std::wstring 00059 #endif // CTTL_STD_WSTRING 00060 00061 #ifndef CTTL_STD_CHAR 00062 00063 #define CTTL_STD_CHAR CTTL_STD_STRING::value_type 00064 #endif // CTTL_STD_CHAR 00065 00066 #ifndef CTTL_STD_WCHAR 00067 00068 #define CTTL_STD_WCHAR CTTL_STD_WSTRING::value_type 00069 #endif // CTTL_STD_WCHAR 00070 00071 00072 #include <cassert> 00073 00074 #include "edge.h" 00075 00076 #ifdef __MINGW32__ 00077 #include "mingw_specific.h" 00078 #endif // __MINGW32__ 00079 00080 #include "xtl_primary.h" 00081 #include "xtl_quote.h" 00082 #include "xtl_sym.h" 00083 #include "xtl_quote_sym.h" 00084 #include "xtl_op.h" 00085 #include "xtl_op_speclzd.h" 00086 #include "xtl_metaphor.h" 00087 #include "xtl_quote_speclzd.h" 00088 #include "policy.h" 00089 00090 #endif // _CTTL_CTTL_H_INCLUDED_ 00091