[Home] [Groups] - Message: [Prev in Group] [Next in Group]
9559: [MUD-Dev] Re: Question on c++ switch optimization, and parsers in general.
[Full Header] [Plain Text]
From: Oliver Jowett <icecube@ihug.co.nz>
Newsgroups: nu.kanga.list.mud-dev
Date: Tue, 9 Feb 1999 10:29:25 +1300 (NZDT)
References: [1]
Organization: Kanga.Nu
On Tue, 9 Feb 1999, I wrote:
> extern command_data *__start_cvs, *__stop_cvs;
>
> command_data **p;
> for (p = &__start_cvs; p < &__stop_cvs; p++) {
> /* do something with (**p) */
> }
Err, those should be __start_commands and __stop_commands of course
(that'll teach me to try to write code immediately after waking up)
-O