Re: Duplicate case value. In nanny.

From: Davies, Nathan (DaviesN@AECL.CA)
Date: 11/03/97


Is the definition for the new case value the same as the previous, like
when you copy and paste a line, but forget that one unimportant value?


>Nathan Davies,
>
>I keep getting this error when I try to add another case statement to the
>nanny call in interpreter.c.  I have already added 2 case statements
>(CON_QRACE and CON_QROLLSTATS) and they work fine, but when I try to add
>another I get the Duplicate Case Value error:
>
>
>        gcc -c -g -O -Wall -fno-strict-prototypes  interpreter.c
>interpreter.c: In function `nanny':
>interpreter.c:1637: duplicate case value
>interpreter.c:1398: this is the first entry for that value
>*** Error exit code 1
>
>line 1637 is the CON_QRACE and line 1398 is the one I added, happened to
>be CON_CLAN_EDIT.  I tried moving the case CON_CLAN_EDIT around, but it
>still gave me the dup case value error.  What am I missing?
>
>[I am using circle30bpl11 and HP-UX]
>


     +------------------------------------------------------------+
     | 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