gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gforth] `name-too-long?` in `input-stream-header`


From: Bernd Paysan
Subject: Re: [gforth] `name-too-long?` in `input-stream-header`
Date: Mon, 16 Nov 2015 19:08:34 +0100
User-agent: KMail/4.14.9 (Linux/3.16.7-29-desktop; KDE/4.14.9; x86_64; ; )

Am Sonntag, 15. November 2015, 09:18:36 schrieb Anton Ertl:
> On Sat, Nov 14, 2015 at 03:50:42PM +0100, Marcos Cruz wrote:
> > I just realized (Gforth 0.7.3) that `name-too-long?` is called in
> > `input-stream-header`, while it's also the first word called in
> > 
> > `header,`:
> >   : input-stream-header ( "name" -- )
> >   : 
> >       parse-name name-too-short? header, ;
> > 
> > They are defined in <kernel/comp.fs>.
> > 
> > Is it an oversight?
> 
> Not on our part:-).  Note the difference between LONG and SHORT.

Maybe HEADER, should contain both checks.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o ID: kQusJzA;address@hidden(dQ*
http://bernd-paysan.de/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]