[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: Stack overflow problem
From: |
Camm Maguire |
Subject: |
[Gcl-devel] Re: Stack overflow problem |
Date: |
27 Aug 2003 17:19:07 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings!
root <address@hidden> writes:
> Camm,
>
> The stack overflow problem is caused by the Axiom preparser. It
> scans for macros and expands BOTH sides of the macros based on
> previous macros. The failure occcurs if there are 2 macros with
> the same name in the same file. The expansion becomes:
>
> env: ()
> macro: MAX ==> 1
> env: (MAX ==> 1)
> macro: MAX ==> 1
> env (1 ==> 1, MAX ==> 1)
> macro 1 + 1
> crash
>
> It is considered (by me) a bug to expand the left hand side of the macro.
> I don't know where this is done but it needs to be fixed. I fear the
> "correct" fix will take me into the meta code using the meta compiler.
>
> This is not a GCL failure (although GCL is particularly unhelpful
> when debugging stack overflows as :bt will crash GCL).
>
OK, then this is what I need to look at, which I'll try to get to
soon.
Take care,
> Tim
> address@hidden
> address@hidden
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gcl-devel] Re: Stack overflow problem,
Camm Maguire <=