You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.1 KiB
60 lines
1.1 KiB
/** Test File...very demoniac for parsing... **/
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#ifdef (_cplusplus)
|
|
{
|
|
#define VALUE 5
|
|
|
|
#define MACRO(x) (x^2)
|
|
|
|
# define abs_float(x) \
|
|
( ((x)<0) ? -(x) : (x) )
|
|
|
|
|
|
typedef struct
|
|
{
|
|
pTest *pNext;
|
|
pTest *pPrev;
|
|
}
|
|
Another_test, *pTest;
|
|
|
|
typedef struct xauth
|
|
{
|
|
unsigned short family;
|
|
char *address;
|
|
} Xauth;
|
|
|
|
typedef struct {
|
|
color to_move;
|
|
occupant board[8][8];
|
|
} game;
|
|
|
|
typedef game gt_data;
|
|
|
|
/*
|
|
A comment with a function hello() { }
|
|
*/
|
|
// Continued...
|
|
|
|
RockType *
|
|
MyMusicFunction(
|
|
void *Red,
|
|
int Hot, // Comment double slash
|
|
char Chili, /* Comment inline */
|
|
unsigned long Peppers)
|
|
// A comment..just to make some noise...
|
|
{
|
|
// Passed first stage ???
|
|
// Ok..get ready for the second one !
|
|
if(I_Have_Failed() >= 0 && /* comments everywhere :} */
|
|
This_Appears() == 1)
|
|
{
|
|
printf("Damn !!! Better going to bed :((");
|
|
if ( vs ) // here you are ;}
|
|
activateSpace( vs->currentView() );
|
|
}
|
|
}
|
|
|
|
}
|