aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.ucl
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.ucl')
-rw-r--r--nihil.ucl/integer.ccm1
-rw-r--r--nihil.ucl/object.ccm10
-rw-r--r--nihil.ucl/real.ccm1
3 files changed, 4 insertions, 8 deletions
diff --git a/nihil.ucl/integer.ccm b/nihil.ucl/integer.ccm
index e43ae8b..7a87df3 100644
--- a/nihil.ucl/integer.ccm
+++ b/nihil.ucl/integer.ccm
@@ -13,6 +13,7 @@ module;
export module nihil.ucl:integer;
import :object;
+import :type;
namespace nihil::ucl {
diff --git a/nihil.ucl/object.ccm b/nihil.ucl/object.ccm
index 5becfa8..9b48256 100644
--- a/nihil.ucl/object.ccm
+++ b/nihil.ucl/object.ccm
@@ -16,16 +16,15 @@ module;
#include <ucl.h>
+import nihil;
+
export module nihil.ucl:object;
-import nihil;
import :error;
import :type;
namespace nihil::ucl {
-export struct parser;
-
/***********************************************************************
* The basic object type.
*/
@@ -75,11 +74,6 @@ protected:
::ucl_object_t *_object = nullptr;
friend auto swap(object &a, object &b) -> void;
-
-private:
-
- friend struct parser;
- friend struct iterator;
};
/***********************************************************************
diff --git a/nihil.ucl/real.ccm b/nihil.ucl/real.ccm
index e0ecbb5..4e2748b 100644
--- a/nihil.ucl/real.ccm
+++ b/nihil.ucl/real.ccm
@@ -11,6 +11,7 @@ module;
export module nihil.ucl:real;
import :object;
+import :type;
namespace nihil::ucl {