Re: Races, parse error

From: George (greerga@CIRCLEMUD.ORG)
Date: 11/30/97


On Sun, 30 Nov 1997, Dr P00P wrote:

>> The parse error should be right where the compiler told you in most cases.
>
> hehe tried it.
> The line is at the very end of class.c i added:
>
> int invalid_race(char etc...
>   if ((IS_OBJ_STAT(obj, etc...)
>
> just like it said to in race.doc.
> could i put this where it 'int' the classes? (below it?)

I bet if you put a /* before that function and a */ after it you will still
have a compile error.  Your compiler received an 'int' where it wasn't
expecting a variable or function declaration.  This could be caused by a
missing } of the { } pair in a previous functionn.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST