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 Version 1

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 (last modified by Víctor de Buen Remiro)

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 (1)

comment:1 Changed 16 years ago by Víctor de Buen Remiro

Description: modified (diff)
Status: newassigned
Note: See TracTickets for help on using tickets.