[OpenBIOS] Documentation problem in primitives.c

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Wed Feb 24 11:15:19 CET 2010


Programmingkid wrote:

> In the file Kernel/primitives.c, it say that there is another list of forth words in the file unix.c, but there is no list. Here is the quote from primitives.c.
> 
> /* words[] is a function array of all native code functions in used by
>  * the dictionary, i.e. CFAs and primitives.
>  * Any change here needs a matching change in the primitive word's
>  * name list that is kept for bootstrapping in arch/unix/unix.c
>  *
>  * NOTE: THIS LIST SHALL NOT CHANGE (EXCEPT MANDATORY ADDITIONS AT
>  * THE END). ANY OTHER CHANGE WILL BREAK COMPATIBILITY TO OLDER
>  * BINARY DICTIONARIES.
>  */
> 
> I think this should say the matching list is in bootstrap.c, and not in arch/unix/unix.c. 

Yes, you're right - the comment is incorrect. When I find a spare 
moment, I'll commit a revised version of the text. Thanks for noticing :)


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the OpenBIOS mailing list