texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] stack overflow


From: Sam Liddicott
Subject: [Texmacs-dev] stack overflow
Date: Thu, 17 Jul 2014 06:34:23 +0100

This simplified macro:

<assign|bogus|<macro|items|<get-label|<arg|items>><if|false|<bogus|x>|<arg|items>>>>

gives these errors on the console when entered into the editor

.../TeXmacs/progs/kernel/library/list.scm:100:12: In _expression_ (cdr (reverse l)):
.../TeXmacs/progs/kernel/library/list.scm:100:12: Stack overflow

the error vanishes when the first branch of the if block is removed.

I would guess it is over-optimistic reduction of the "if" statement when encountering recursion.

Sam

reply via email to

[Prev in Thread] Current Thread [Next in Thread]