[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
#include oddness.
- From: Ken McGlothlen <nospam@thanx>
- Date: 01 Feb 2002 22:57:15 -0800
I have a file at the base of my web directory (henceforth called
"basedirectory") called sitedef.wmi. It has a bunch of definitions in it. The
various .wml files in the same directory include that file, and it all works
great.
In a subdirectory of that, I also have a file called sitedef.wmi. It contains,
in toto:
#include <sitedef.wmi>
which all the .wml files in this subdirectory include. I compile all the .wml
files in this directory with wml -Ibasedirectory, and that works great, too.
In a subdirectory of *that*, I also have a file called sitedef.wmi. It
contains, in toto:
#include <sitedef.wmi>
which all the .wml files in this subdirectory include. I compile all the .wml
files in this directory with wml -Ibasedirectory. But I get an infinite
include stack on sitedef.wmi, and wml eventually dies with an Out of memory
error.
Why? This last sitedef.wmi *should* include the one in basedirectory, right?
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com