hi, since ansi-c allows k&r style parameter lists which look something like this
int my_function(arg0, arg1) int arg0; char arg1; { /* code */ }
hi, since ansi-c allows k&r style parameter lists which look something like this [...] i was wondering how the keil c166 compiler handles these in combination with register banks and masks. Why bother? There's quite exactly no valid reason at all to use that deprecated parameter list format, so it's completely irrelevant what consequences using it might have.
thanks for the response, Why bother? There's quite exactly no valid reason at all to use that deprecated parameter list format, so it's completely irrelevant what consequences using it might have. true, but I have to implement a parser which should have the same behaviour the keil parser has (at least as far as possible), therefore it would be great to know how the keil behaves in this special case. (especially since keil seems to handle the situations inconsitently, it allows a register mask + declaration list, but it doesn't allow a register bank + declaration list) alexander floh