I have been able to compile now, I have also put in
some other code, double exp and a numeric damage display.
I got some problems doing that but I got them to work.

Now I need OLC, these are the warnings and errors I get.
-------------------------------------------------------
olc_act.c:35: parse error before `{'
olc_act.c:37: warning: type defaults to `int' in declaration of `_blargh'
olc_act.c:37: `blah' undeclared here (not in a function)
olc_act.c:37: `blah' undeclared here (not in a function)
olc_act.c:37: warning: data definition has no type or storage class
olc_act.c:38: parse error before `}'
make: *** [olc_act.o] Error 1
---------------------------------------------------

this is how the rows it vined about looks like.

--------------------------------------------------
char * mprog_type_to_name ( int type );

#define ALT_FLAGVALUE_SET ( _blargh, _table, _arg )
        {
                int blah = flag_value( _table, _arg );
                _blargh = (blah == NO_FLAG) ? 0 : blah;
        }

#define ALT_FLAGVALUE_TOGGLE( _blargh, _table, _arg )
        {
                int blah = flag_value( _table, _arg );
                _blargh ^= (blah == NO_FLAG) ? 0 : blah;
        }
--------------------------------------------------

How do I fix this?

please help


Reply via email to