Skip to content

Commit

Permalink
Fix for Jira bug I7-1856
Browse files Browse the repository at this point in the history
  • Loading branch information
ganelson committed May 26, 2022
1 parent 120d18f commit 0d4829e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# Inform 7

v10.1.0-beta+6V14 'Krypton' (26 May 2022)
v10.1.0-beta+6V15 'Krypton' (27 May 2022)

## About Inform 7

Expand Down
4 changes: 2 additions & 2 deletions build.txt
@@ -1,3 +1,3 @@
Prerelease: beta
Build Date: 26 May 2022
Build Number: 6V14
Build Date: 27 May 2022
Build Number: 6V15
4 changes: 3 additions & 1 deletion inform7/Internal/Inter/CommandParserKit/Sections/Parser.i6t
Expand Up @@ -245,7 +245,7 @@ $$ C = 100 + N $$
for (i=from: i<=to: i++) print (char) i->0;
];

[ SpliceSnippet snip t i w1 w2 nextw at endsnippet newlen;
[ SpliceSnippet snip t i w1 w2 nextw at endsnippet newlen saved;
w1 = snip/100; w2 = w1 + (snip%100) - 1;
if ((w2<w1) || (w1<1)) {
if ((w1 == 1) && (w2 == 0)) return;
Expand All @@ -255,13 +255,15 @@ $$ C = 100 + N $$
nextw = w2 + 1;
at = WordAddress(w1) - buffer;
if (nextw <= WordCount()) endsnippet = 100*nextw + (WordCount() - nextw + 1);
saved = buffer2-->0;
buffer2-->0 = 120;
newlen = VM_PrintToBuffer(buffer2, 120, SpliceSnippet__TextPrinter, t, endsnippet);
for (i=0: (i<newlen) && (at+i<120): i++) buffer->(at+i) = buffer2->(WORDSIZE+i);
#Ifdef TARGET_ZCODE; buffer->1 = at+i; #ifnot; buffer-->0 = at+i; #endif;
for (:at+i<120:i++) buffer->(at+i) = ' ';
VM_Tokenise(buffer, parse);
players_command = 100 + WordCount();
buffer2-->0 = saved;
@pull say__pc; @pull say__p;
];

Expand Down

0 comments on commit 0d4829e

Please sign in to comment.