summaryrefslogtreecommitdiff
path: root/examples/live/src/Lang.zig
diff options
context:
space:
mode:
Diffstat (limited to 'examples/live/src/Lang.zig')
-rw-r--r--examples/live/src/Lang.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/live/src/Lang.zig b/examples/live/src/Lang.zig
index 484de54..cc6280f 100644
--- a/examples/live/src/Lang.zig
+++ b/examples/live/src/Lang.zig
@@ -519,8 +519,9 @@ fn expectOps(tape: Tape, want: []const Op) !void {
try testing.expectEqualSlices(Op, want, ops(tape)[0..tape.len]);
}
-/// The survey's program (reports/demo1.md, §1 A).
-const survey =
+/// The survey's program (reports/demo1.md, §1 A); main.zig's test of the
+/// grammar parses it too.
+pub const survey =
\\# the beat, shared by sound and picture
\\bpm = 120
\\beat = t * bpm / 60