summaryrefslogtreecommitdiff
path: root/data.lp
diff options
context:
space:
mode:
Diffstat (limited to 'data.lp')
-rw-r--r--data.lp3
1 files changed, 1 insertions, 2 deletions
diff --git a/data.lp b/data.lp
index a65daf6..654c1fa 100644
--- a/data.lp
+++ b/data.lp
@@ -100,8 +100,7 @@ pub const Section = struct {
content: []const Content,
};
-pub const CodeType = enum { literal, reference };
-pub const Content = union(CodeType) {
+pub const Content = union(enum) {
literal: LineRange,
reference: []const u8,
};