summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/pawn/test1.pawn
blob: ecefe6e03c2f604bd6eb8b0467883800d58490d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

#define SCROLLMSG_SIZE 512

#define SCROLLMSG_SIZE  512

#define MIN(%1,%2)  ((%1) < (%2) ? (%1) : (%2))
#define MAX(%1,%2)   ((%1)>(%2)?(%1):(%2))


//Why doesn't it make them all one space?

#define ADMIN_NORMAL   (1<<1)
#define ADMIN_STEAM            (1<<2)


#define ADMIN_NORMAL    (1<<1)
#define ADMIN_STEAM             (1<<2)

//Why space before and after colon?

new Float:g_xPos
new Float : g_xPos

// col1
 // col2
  // col3
   // col4
    // col5

//Why so many tabs?
main() {
       remove_task(123)                /* remove current messaging */

       remove_user_flags(0, read_flags("z"))           // Remove 'user' flag from server rights

       new idtype = ADMIN_STEAM | ADMIN_LOOKUP // trail 1
       new idtype = ADMIN_STEAM|ADMIN_LOOKUP // trail 2
                                              // trail 3
                                              // trail 4

       if (idtype & ADMIN_STEAM)
       {
       a++
       }
       else if (equali(t_arg, "ip"))
       {
       b++
       }

       for (new _i=0; _i<_num; _i++)
	{
	c++
	}

	for (new _i = 0; _i < _num; _i++)
	{
	d++
	}
}