🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ti.explorer
1 messages
1 total messages Started by Christian Rathke Tue, 27 Feb 1990 11:38
eval-when problem - is it a bug?
#465
Author: Christian Rathke
Date: Tue, 27 Feb 1990 11:38
38 lines
1542 bytes
The following constellation causes an undefined function error when compiling
test-file:

;;;;; evaluate the following definitions

    (defmacro the-macro ()
      (macro-expander))
    
    
    (defun macro-expander ()
      (the-function))

;;;;; compile-file "test-file.lisp" which contains:

    (eval-when (compile load eval)
      (defun the-function ()
	t)
      )
    
    (the-macro)
    

Somehow the call to "the-function" does not get linked to the definition
in test-file and macro-expanding (the-macro) bombs.

This behavior (among other things?) causes rainy-day-pcl to not compile correctly.

Any help is greatly appreciated.

	-Christian

==============================================================================
Christian Rathke                    rathke@ifi.informatik.uni-stuttgart.dbp.de
Institut fuer Informatik
Universitaet Stuttgart
Forststrasse 86
D - 7000 Stuttgart 1                                       Tel.: 0711-121-1436
==============================================================================
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads