Can someone tell me why I am getting this error? This is
really strange since I have added the exact same code in,
another mud, the only difference is I have changed the
race names.
Here is the error I am getting::
In file included from comm.c:29:
utils.h:427: parse error before '->'
Here is a portion of my utils.h
#define CLASS_ABBR(ch) (IS_NPC(ch) ? "--" : class_abbrevs[(int)GET_CLASS(ch)])
#define RACE_ABBR(ch) (IS_NPC(ch) ? "NPC" : race_abbrevs[(int)GET_RACE(ch)])
#define IS_WIZARD(ch) (!IS_NPC(ch) && \
(GET_CLASS(ch) == CLASS_WIZARD))
#define IS_CLERIC(ch) (!IS_NPC(ch) && \
(GET_CLASS(ch) == CLASS_CLERIC))
#define IS_ROGUE(ch) (!IS_NPC(ch) && \
(GET_CLASS(ch) == CLASS_ROGUE))
#define IS_WARRIOR(ch) (!IS_NPC(ch) && \
(GET_CLASS(ch) == CLASS_WARRIOR))
#define IS_RANGER(ch) (!IS_NPC(ch) && \
(GET_CLASS(ch) == CLASS_RANGER))
#define IS_PRIEST(ch) (!IS_NPC(ch) && \
(GET_CLASS(ch) == CLASS_PRIEST))
#define IS_HUMAN(ch) (!IS_NPC(ch) && \
(GET_RACE(ch) == RACE_HUMAN))
#define IS_ELVEN(ch) (!IS_NPC(ch) && \
(GET_RACE(ch) == RACE_ELVEN))
#define IS_HALFLING(ch) (!IS_NPC(ch) && \
(GET_RACE(ch) == RACE_HALFLING))
#define IS_GNOME(ch) (!IS_NPC(ch) && \
(GET_RACE(ch) == RACE_GNOME))
#define IS_HALFELVEN(ch) (!IS_NPC(ch) && \
(GET_RACE(ch) == RACE_HALFELVEN))
#define IS_DWARVEN(ch) (!IS_NPC(ch) && \
(GET_RACE(ch) == RACE_DWARVEN))
I have looked at all possible files related to this and came
up with nothing....
I am using pl 11 btw;
Thanks for any help,
Chuck
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
+-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST