Skip to content

Commit

Permalink
support stage2 usingnamespace semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Aug 11, 2022
1 parent 513aa28 commit 6a2d664
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib.zig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub const commands_to_bootstrap = struct {
};

pub const commands = struct {
usingnamespace commands_to_bootstrap;
pub usingnamespace commands_to_bootstrap;
pub const init = @import("./cmd/init.zig");
pub const sum = @import("./cmd/sum.zig");
pub const zpm = @import("./cmd/zpm.zig");
Expand Down
2 changes: 1 addition & 1 deletion src/util/index.zig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
usingnamespace @import("./funcs.zig");
pub usingnamespace @import("./funcs.zig");

0 comments on commit 6a2d664

Please sign in to comment.