=================================================================== RCS file: /cvs/mandoc/Attic/hash.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- mandoc/Attic/hash.c 2009/01/05 17:57:07 1.4 +++ mandoc/Attic/hash.c 2009/01/20 13:44:05 1.5 @@ -1,4 +1,4 @@ -/* $Id: hash.c,v 1.4 2009/01/05 17:57:07 kristaps Exp $ */ +/* $Id: hash.c,v 1.5 2009/01/20 13:44:05 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -24,6 +24,12 @@ #include #include "private.h" + +/* + * Routines for the perfect-hash hashtable used by the parser to look up + * tokens by their string-ified names (`.Fl' -> MDOC_Fl). The + * allocation penalty for this is 27 * 26 * sizeof(ptr). + */ void