Message from discussion
Calling conventions, IMC
Newsgroups: perl.perl6.internals
Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.stanford.edu!nntp.perl.org
Return-Path: <w...@coleda.com>
Mailing-List: contact perl6-internals-h...@perl.org; run by ezmlm
Delivered-To: mailing list perl6-intern...@perl.org
Received: (qmail 60689 invoked by uid 76); 19 Jan 2004 17:56:21 -0000
Received: from qma...@one.develooper.com (HELO ran-out.mx.develooper.com) (64.81.84.115) by onion.perl.org (qpsmtpd/0.26) with SMTP; Mon, 19 Jan 2004 09:56:21 -0800
Received: (qmail 12894 invoked by uid 225); 19 Jan 2004 17:56:20 -0000
Delivered-To: perl6-intern...@perl.org
Received: (qmail 12889 invoked by uid 507); 19 Jan 2004 17:56:20 -0000
Received: from ms-smtp-02-qfe0.nyroc.rr.com (HELO ms-smtp-02.nyroc.rr.com) (24.24.2.56) by one.develooper.com (qpsmtpd/0.27-dev) with ESMTP; Mon, 19 Jan 2004 09:55:49 -0800
Received: from coleda.com (alb-24-194-208-176.nycap.rr.com [24.194.208.176]) by ms-smtp-02.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id i0JHtiEj007765 for <perl6-intern...@perl.org>; Mon, 19 Jan 2004 12:55:44 -0500 (EST)
Date: Mon, 19 Jan 2004 12:55:51 -0500
Mime-Version: 1.0 (Apple Message framework v553)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Subject: Calling conventions, IMC
To: perl6-intern...@perl.org
Content-Transfer-Encoding: 7bit
Message-ID: <B8548E4C-4AA8-11D8-95BB-000A95909DD0@coleda.com>
X-Mailer: Apple Mail (2.553)
X-Virus-Scanned: Symantec AntiVirus Scan Engine
X-Spam-Check-By: one.develooper.com
X-Spam-Status: No, hits=-0.7 required=7.0 tests=CARRIAGE_RETURNS,SPAM_PHRASE_00_01,USER_AGENT_APPLEMAIL version=2.44
X-SMTPD: qpsmtpd/0.26, http://develooper.com/code/qpsmtpd/
Approved: n...@nntp.perl.org
From: w...@coleda.com (Will Coleda)
(Thanks for the quick response on the last email)
I have another problem. I have a 405-line file (containing a single
.pcc_sub) that is being included from my main .imc.
I get:
error:imcc:pcc_return not inside pcc subroutine
in file 'lib/interpret.imc' line 397
included from 'tcl.imc' sub '__interpret' line 116
...
Though the file contains:
1 .pcc_sub __interpret prototyped
2 # An array of commands to interpret.
3 .param PerlArray orig_commands
...
392 DONE:
393 .debug("final retval is '")
394 .debug(retval)
395 .debug("'\n")
396 .pcc_begin_return
397 .return retval
398 .pcc_end_return
(I know the macro support is going away soon, I'm just trying to get
things working with the current snapshot.)
So, I /am/ inside a pcc subroutine when I .return.
I'm trying to slim this down into a smaller test, but thought I'd post
this in the meantime.
Regards.
--
Will "Coke" Coleda will at coleda
dot com