Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 19.12 (# and ## operator) real issue?
#6
Apologies, 3SUF is indeed a pp-number and therefore a valid preprocessing token. A correct example would have been

Code:
#define m (a,b) a##.##b

as this would have resulted in .SUF which is not a single preprocessing token but the two tokens . and SUF respectively.
Posted by and on behalf of the MISRA C Working Group
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)