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 e65802a439c6b866a79103c3e6dfd77e398da512..ae36dde07fd61bb75cddd34e8aa036847ad61f42 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 55e07d113f00b12e349afe9c6804f304b61f32db..13fc166ae46605f2a2ab62907d99eb44ed931764 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 acf5f3d00260a9ee58ef62a6f5c6badc440fa27a..2e2c9e6c1ed1a33346713f0ab0b5b69cc645972a 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>