[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Including files from parent dir
From: |
Patrice Dumas |
Subject: |
Re: Including files from parent dir |
Date: |
Wed, 14 Sep 2022 16:32:01 +0200 |
On Wed, Sep 14, 2022 at 10:16:16AM -0400, Stefan Monnier wrote:
> > Right now, I can't think of a way to make this happen. The only
> > thing I can think of would be to change the code to consider that
> > only paths with leading . are considered differently.
>
> Actually, from where I stand, what would make more sense is to make it
> so file names that start with . or .. are treated relative to the
> including file rather than searched through the include directories.
This is not so different, as the including file directory is either the
first (if it is the current directory), or the second directory in the
include directories.
--
Pat