Ticket #1146 (new bug) — at Initial Version

Opened 12 years ago

Last modified 11 years ago

same code works on windows, not on mac

Reported by: kjs Owned by: kjs
Priority: normal Milestone:
Component: pirc Version: 1.6.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

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.

Note: See TracTickets for help on using tickets.