MUD-Dev
mailing list archive

Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

[MUD-Dev] Re: Question on c++ switch optimization, and parsers in general.



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





Other Periods  | Other mailing lists  | Search  ]