Re: [Code] class restrictions, parse_class, and nanny

From: Thomas Arp (t_arp@mail1.stofanet.dk)
Date: 03/07/01


----- Original Message -----
From: "Jeremy Overbay" <jeremy@tileandbath.com>
<snip of problem description>
> int parse_class(char arg, struct descriptor_data * d)
<snip>
> from nanny in interpreter.c
<snip>
>     load_result = parse_class(*arg);
<snip>

Should be
      load_result = parse_class(*arg, d);

You're not passing any descriptor info to the parse_class() function.
IS_DWARF(d->character) will bust if there's no descriptor.

Welcor

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/04/01 PST