#1146: same code works on windows, not on mac
--------------------+-------------------------------------------------------
Reporter: kjs | Owner: kjs
Type: bug | Status: new
Priority: normal | Milestone:
Component: pirc | Version: 1.6.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Description changed by kjs:
Old description:
> This program:
>
> {{{.sub main
> a()
> b()
> .end
> .sub a
> say "a"
> .end
> .sub b
> say "b"
> .end
> }}}
>
> Works fine on windows, whereas on MacOS 10.6, I see:
>
> $ ./pirc -b -x inv.pir
> a
> maximum recursion depth exceeded
> current instr.: 'b' pc 26 (inv.pir:11)
> called from Sub 'main' pc -1 ((unknown file):-1)
>
> Not tested in Linux.
New description:
This program:
{{{
.sub main
a()
b()
.end
.sub a
say "a"
.end
.sub b
say "b"
.end
}}}
Works fine on windows, whereas on MacOS 10.6, I see:
$ ./pirc -b -x inv.pir
a
maximum recursion depth exceeded
current instr.: 'b' pc 26 (inv.pir:11)
called from Sub 'main' pc -1 ((unknown file):-1)
Not tested in Linux.
--
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1146#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets