~ubuntu-branches/ubuntu/edgy/mcpp/edgy

« back to all changes in this revision

Viewing changes to test-t/e_post.t

  • Committer: Bazaar Package Importer
  • Author(s): NIIBE Yutaka
  • Date: 2005-04-16 15:58:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050416155816-q9a9ipx724qvf3le
Tags: 2.5-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
/* 19.3:    */
210
210
#define OBJ_LIKE        (0)     /* different token sequence     */
211
211
 
212
 
/*  ( 1 - 1 ) ; */
 
212
/*  ( 1 - 1 ) ; or ( 0 ) ;  */
213
213
    OBJ_LIKE;
214
214
 
215
215
/* 19.5:    */
216
216
#define FTN_LIKE(b)     ( a )   /* different parameter usage    */
217
217
 
218
 
/*  ( x ) ; */
 
218
/*  ( x ) ; or ( a ) ;  */
219
219
    FTN_LIKE(x);
220
220
 
221
221
/* 19.7:    Not in ISO C "Examples" */
234
234
#define CAT( b, c)  b ## c ##
235
235
 
236
236
 
237
 
/* e_24_5.t:    Operand of # operator in function-like macro definition shall
 
237
/* e_24_6.t:    Operand of # operator in function-like macro definition shall
238
238
        be a parameter name.    */
239
239
 
240
 
/* 24.5:    */
 
240
/* 24.6:    */
241
241
#define FUNC( a)    # b
242
242
 
243
243
 
255
255
    head_body_tail( head, body(a,b), tail);
256
256
 
257
257
 
258
 
/* e_27_6.t:    Error of rescanning.    */
 
258
/* e_27_7.t:    Error of rescanning.    */
259
259
 
260
 
/* 27.6:    Rescanning of macro should complete in the macro call.  */
 
260
/* 27.7:    Rescanning of macro should complete in the macro call.  */
261
261
/* 'add(' causes "unterminated macro call" error.  */
262
262
    head a,b );
263
263
 
264
 
/* 27.7:    */
 
264
/* 27.8:    */
265
265
#define TWO_TOKENS      a,b
266
266
#define SUB( x, y)      sub( x, y)
267
267
/* Too many arguments error while rescanning after once replaced to: