From 5af626e443ce58374059b1e692d0265f18acc825 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sun, 21 Feb 2021 19:43:41 -0500 Subject: [PATCH] Move sources to "pegp" package. --- src/{ => pegp}/main.d | 3 ++- src/{ => pegp}/state.d | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) rename src/{ => pegp}/main.d (75%) rename src/{ => pegp}/state.d (98%) diff --git a/src/main.d b/src/pegp/main.d similarity index 75% rename from src/main.d rename to src/pegp/main.d index e0cdd77..1ce868a 100644 --- a/src/main.d +++ b/src/pegp/main.d @@ -1,5 +1,6 @@ +module pegp.main; import std.stdio; -import state; +import pegp.state; int main(string[] args) { diff --git a/src/state.d b/src/pegp/state.d similarity index 98% rename from src/state.d rename to src/pegp/state.d index 7224b75..9c77dad 100644 --- a/src/state.d +++ b/src/pegp/state.d @@ -1,3 +1,5 @@ +module pegp.state; + class State { private int m_size;