Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /* Original definitions. */
  2. #define TWO  ( 1+1 )
  3. #define FOUR (2 + 2)
  4. #define SIX  (3 + 3)
  5.  
  6. /* Redefinitions with whitespace in same places, but different amounts, (so no
  7.  * error). */
  8. #define TWO     (       1+1   )
  9. #define FOUR    (2      +  2)
  10. #define SIX     (3/*comment is whitespace*/+   /* collapsed */ /* to */ /* one */ /* space */  3)
  11.  
  12. /* Redefinitions with whitespace in different places. Each of these should
  13.  * trigger an error. */
  14. #define TWO  (1 + 1)
  15. #define FOUR ( 2+2 )
  16. #define SIX  (/*not*/3 + 3/*expected*/)
  17.