Moved header includes to source files to avoid polluting the namespace
authorJens Vollinga <jensv@nikhef.nl>
Sun, 4 Oct 2009 20:15:13 +0000 (22:15 +0200)
committerJens Vollinga <jensv@nikhef.nl>
Sun, 4 Oct 2009 20:15:13 +0000 (22:15 +0200)
for library users.

ginac/parser/default_reader.tpl
ginac/parser/parse_context.h
ginac/parser/parser.cpp

index e65802a..ae36dde 100644 (file)
@@ -19,6 +19,13 @@ COMMENT a part of GiNaC parser -- construct functions from a byte stream.
 #include "power.h"
 #include "operators.h"
 #include "inifcns.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h> // for uintptr_t
+#endif
 
 namespace GiNaC
 {
index 55e07d1..13fc166 100644 (file)
 #include <map>
 #include <string>
 #include <utility>
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-#ifdef HAVE_STDINT_H
-#include <stdint.h> // for uintptr_t
-#endif
 
 namespace GiNaC {
 
index acf5f3d..2e2c9e6 100644 (file)
 #include "mul.h"
 #include "constant.h"
 #include "function.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
+#ifdef HAVE_STDINT_H
+#include <stdint.h> // for uintptr_t
+#endif
 #include <sstream>
 #include <stdexcept>