close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 16 years ago

Last modified 15 years ago

#660 closed defect

Macro #Embed out of current directory is not compatible with Include — at Initial Version

Reported by: Víctor de Buen Remiro Owned by: Víctor de Buen Remiro
Priority: lowest Milestone: Mantainance
Component: Kernel Version: 2.0.1
Severity: normal Keywords: Embed, Include
Cc:

Description

Macro #Embed out of current directory is not compatible with Include

We have these three files:

//File file1.tol in my_root directory
#Embed my_subdir/file2.tol;
//File file2.tol in my_root/my_subdir directory
Set Include("file3.tol");
//File file3.tol in my_root/my_subdir directory
Real a = 0;

When file1.tol compiled TOL shows this error message:

ERROR: [1] Cannot open file file3.tol

Change History (0)

Note: See TracTickets for help on using tickets.