[SLOF] [PATCH] Remove unused functions ishexdigit and $cat-comma

Segher Boessenkool segher at kernel.crashing.org
Fri Jul 21 05:32:34 AEST 2017


On Thu, Jul 20, 2017 at 11:02:22AM +0200, Thomas Huth wrote:
> They are completely unused, and ishexdigit seems even to be implemented
> in a wrong way, thus let's simply remove them.

> -: ishexdigit ( char -- true | false )
> -   30 39 between 41 46 between OR 61 66 between OR
> -;

Huh, yes, wow.  For reference:

: ishexdigit ( char -- flag )
  h# 10 digit nip ;

("digit" is a standard open firmware word).


Segher


More information about the SLOF mailing list