From b05aa5b8722f237461e26f4e10f0080770538341 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Thu, 6 Jun 2019 10:37:32 -0600 Subject: [PATCH] Disambiguate shuffle alts from hscript line prefix --- examples/shuffle/main.hank | 2 +- hank/Alt.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/shuffle/main.hank b/examples/shuffle/main.hank index 562b549..c95c41b 100644 --- a/examples/shuffle/main.hank +++ b/examples/shuffle/main.hank @@ -1,5 +1,5 @@ - (start) -Shuffle sequences are {~deterministic|always the same|reliable|reproducible|->finish} if you specify a seed to your Story object. +Shuffle sequences are {%deterministic|always the same|reliable|reproducible|->finish} if you specify a seed to your Story object. -> start - (finish) compatible with fully automated save states! \ No newline at end of file diff --git a/hank/Alt.hx b/hank/Alt.hx index 07dc992..85c1d26 100644 --- a/hank/Alt.hx +++ b/hank/Alt.hx @@ -22,7 +22,7 @@ class Alt { '>' => Sequence, '!' => OnceOnly, '&' => Cycle, - '~' => Shuffle, + '%' => Shuffle, 'sequence:' => Sequence, 'once:' => OnceOnly, 'cycle:' => Cycle,