[CODE] syntax error : 'if'

From: Jan Pedersen (superjan@get2net.dk)
Date: 07/04/00


Hi

Where i marked the below text with ---> i get a syntax error : 'if' when i compile
i dunno why, any ideas ?

#define MAX_FOUND (160)
#define IN_NEXT_ZONE(number) (number > last_in_zone && ((number / 100) > (last_in_zone / 100)))
#define CHECK_ZONE_VIEW_PERM(num) 
---> if (IN_NEXT_ZONE(num) || last_in_zone == -1) {     
     zone_rnum = real_zone(num);      
            last_in_zone = zone_table[zone_rnum].top;    
            if (!can_view_zone(ch, zone_rnum)) {    
              sprintf(buf + strlen(buf), "&RZone #%d: Access denied.&w\r\n",  
                zone_table[zone_rnum].number);     
              first = last_in_zone + 1;      
              first += 100 - (first % 100);     
              continue;        
            }         
          }


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



This archive was generated by hypermail 2b30 : 04/10/01 PDT