Re: Errors in "Using scanners with Builders" example

Mats Wichmann <[email protected]> Wed, 31 Jan 2024 12:58:13 -0700
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
On 1/30/24 09:16, Andreas Gustafsson wrote:
g of that example, I found it really confusing.  It starts out
> by saying:
> 
>    Suppose, for example, that we want to create a simple Scanner
>    for .foo files.
> 
> but the example code that follows seems to deal with .k files,
> not .foo files.

I've written up an issue for this:

https://github.com/SCons/scons/issues/4468

and have edits that should improve the overall situation (PR soon). The 
example in 20.3 isn't great, I've made it more comprehensive without 
particularly making it more meaningful, still letting that stew for a bit.