From bc1d4980c354ecea354e2d2b4ede93c07c4bdac7 Mon Sep 17 00:00:00 2001 From: eudoxia Date: Fri, 26 Aug 2022 09:28:34 -0400 Subject: software/literary: source update --- software/literary/data.html | 5 ++--- software/literary/log.html | 2 +- software/literary/tangle.html | 2 +- software/literary/weave.html | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/software/literary/data.html b/software/literary/data.html index 9fddef4..bad7ce0 100755 --- a/software/literary/data.html +++ b/software/literary/data.html @@ -132,8 +132,7 @@ pub const kc_nl = "\\n"; content: []const Content, }; -pub const CodeType = enum { literal, reference }; -pub const Content = union(CodeType) { +pub const Content = union(enum) { literal: LineRange, reference: []const u8, }; @@ -553,7 +552,7 @@ try buffer.append(try std.mem.concat(alloc, u8, &[_][]const u8{ line[0..star diff --git a/software/literary/log.html b/software/literary/log.html index 59e9627..badfa07 100755 --- a/software/literary/log.html +++ b/software/literary/log.html @@ -98,7 +98,7 @@ nosuspend stderr.print(msg, args) catch return; diff --git a/software/literary/tangle.html b/software/literary/tangle.html index 02e5905..3ba55c0 100755 --- a/software/literary/tangle.html +++ b/software/literary/tangle.html @@ -137,7 +137,7 @@ defer arena.deinit(); diff --git a/software/literary/weave.html b/software/literary/weave.html index 59fc750..c89b4cd 100755 --- a/software/literary/weave.html +++ b/software/literary/weave.html @@ -121,7 +121,7 @@ defer arena.deinit(); -- cgit v1.2.3