Fixed issue with ?~ register
This commit is contained in:
parent
b5b6472ebc
commit
8705ebebc6
|
@ -1,4 +1,5 @@
|
||||||
|
<> (NAME) (Modal)
|
||||||
|
<> (?: print $) (?:)
|
||||||
|
<> ($ ?x) (?x $)
|
||||||
|
|
||||||
<> (listen ?~) (?~ done.)
|
$ (Welcome to NAME \nHave fun!\n\n) print
|
||||||
|
|
||||||
foo listen stdin bar
|
|
|
@ -50,7 +50,7 @@ put_reg(char r)
|
||||||
*outp_++ = '?', *outp_++ = r;
|
*outp_++ = '?', *outp_++ = r;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
*ss = walk(s);
|
ss = walk(s);
|
||||||
if(r == '*') {
|
if(r == '*') {
|
||||||
if(*s == '(') { /* special implode */
|
if(*s == '(') { /* special implode */
|
||||||
while(s < ss && (c = *s++))
|
while(s < ss && (c = *s++))
|
||||||
|
|
Loading…
Reference in New Issue