CHSM  4.4.1
util.h
1 /*
2 ** CHSM Language System
3 ** src/c++/lib/util.h
4 **
5 ** Copyright (C) 1996-2010 Paul J. Lucas & Fabio Riccardi
6 **
7 ** This program is free software; you can redistribute it and/or modify
8 ** it under the terms of the GNU General Public License as published by
9 ** the Free Software Foundation; either version 2 of the License, or
10 ** (at your option) any later version.
11 **
12 ** This program is distributed in the hope that it will be useful,
13 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ** GNU General Public License for more details.
16 **
17 ** You should have received a copy of the GNU General Public License
18 ** along with this program; if not, write to the Free Software
19 ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */
21 
22 #ifndef chsm_util_H
23 #define chsm_util_H
24 
25 // standard
26 #include <iostream>
27 
28 namespace CHSM_NS {
29 
30  extern int debug_indent;
31 
32  std::ostream& echo();
33 
34 # define ECHO echo()
35 # define MORE std::cerr
36 # define ENDL << std::endl
37 
38 } // namespace
39 
40 #endif /* chsm_util_H */
41 /* vim:set et sw=4 ts=4: */