permit multiline comments and strings in macros
[bpt/coccinelle.git] / demos / macro_parsing_problem.c
1 // note that some of our heuristics can deal with statement
2 // without trailing ';', but currently our heuristics don't handle
3 // those cases below:
4
5 int main(void)
6 {
7 /* Notice that there is NO semicolon at the end of next line. */
8 char *buf = MALLOC(3)
9 return 0;
10 }
11
12
13 int main(void)
14 {
15 /* Notice that there is NO semicolon at the end of next line. */
16 char *buf = MALLOC(3)
17 return 0;
18 }
19
20 int main(void)
21 {
22 /* Notice that there is NO semicolon at the end of next line. */
23 char *buf = MALLOC(3)
24 return 0;
25 }
26
27 int main(void)
28 {
29 /* Notice that there is NO semicolon at the end of next line. */
30 char *buf = MALLOC(3)
31 return 0;
32 }
33
34 int main(void)
35 {
36 /* Notice that there is NO semicolon at the end of next line. */
37 char *buf = MALLOC(3)
38 return 0;
39 }
40
41 int main(void)
42 {
43 /* Notice that there is NO semicolon at the end of next line. */
44 char *buf = MALLOC(3)
45 return 0;
46 }
47 int main(void)
48 {
49 /* Notice that there is NO semicolon at the end of next line. */
50 char *buf = MALLOC(3)
51 return 0;
52 }
53 int main(void)
54 {
55 /* Notice that there is NO semicolon at the end of next line. */
56 char *buf = MALLOC(3)
57 return 0;
58 }
59 int main(void)
60 {
61 /* Notice that there is NO semicolon at the end of next line. */
62 char *buf = MALLOC(3)
63 return 0;
64 }
65 int main(void)
66 {
67 /* Notice that there is NO semicolon at the end of next line. */
68 char *buf = MALLOC(3)
69 return 0;
70 }
71 int main(void)
72 {
73 /* Notice that there is NO semicolon at the end of next line. */
74 char *buf = MALLOC(3)
75 return 0;
76 }
77 int main(void)
78 {
79 /* Notice that there is NO semicolon at the end of next line. */
80 char *buf = MALLOC(3)
81 return 0;
82 }
83 int main(void)
84 {
85 /* Notice that there is NO semicolon at the end of next line. */
86 char *buf = MALLOC(3)
87 return 0;
88 }
89 int main(void)
90 {
91 /* Notice that there is NO semicolon at the end of next line. */
92 char *buf = MALLOC(3)
93 return 0;
94 }
95 int main(void)
96 {
97 /* Notice that there is NO semicolon at the end of next line. */
98 char *buf = MALLOC(3)
99 return 0;
100 }
101 int main(void)
102 {
103 /* Notice that there is NO semicolon at the end of next line. */
104 char *buf = MALLOC(3)
105 return 0;
106 }
107 int main(void)
108 {
109 /* Notice that there is NO semicolon at the end of next line. */
110 char *buf = MALLOC(3)
111 return 0;
112 }
113 int main(void)
114 {
115 /* Notice that there is NO semicolon at the end of next line. */
116 char *buf = MALLOC(3)
117 return 0;
118 }
119 int main(void)
120 {
121 /* Notice that there is NO semicolon at the end of next line. */
122 char *buf = MALLOC(3)
123 return 0;
124 }
125 int main(void)
126 {
127 /* Notice that there is NO semicolon at the end of next line. */
128 char *buf = MALLOC(3)
129 return 0;
130 }
131 int main(void)
132 {
133 /* Notice that there is NO semicolon at the end of next line. */
134 char *buf = MALLOC(3)
135 return 0;
136 }
137 int main(void)
138 {
139 /* Notice that there is NO semicolon at the end of next line. */
140 char *buf = MALLOC(3)
141 return 0;
142 }
143 int main(void)
144 {
145 /* Notice that there is NO semicolon at the end of next line. */
146 char *buf = MALLOC(3)
147 return 0;
148 }
149 int main(void)
150 {
151 /* Notice that there is NO semicolon at the end of next line. */
152 char *buf = MALLOC(3)
153 return 0;
154 }
155 int main(void)
156 {
157 /* Notice that there is NO semicolon at the end of next line. */
158 char *buf = MALLOC(3)
159 return 0;
160 }
161 int main(void)
162 {
163 /* Notice that there is NO semicolon at the end of next line. */
164 char *buf = MALLOC(3)
165 return 0;
166 }
167 int main(void)
168 {
169 /* Notice that there is NO semicolon at the end of next line. */
170 char *buf = MALLOC(3)
171 return 0;
172 }
173 int main(void)
174 {
175 /* Notice that there is NO semicolon at the end of next line. */
176 char *buf = MALLOC(3)
177 return 0;
178 }
179 int main(void)
180 {
181 /* Notice that there is NO semicolon at the end of next line. */
182 char *buf = MALLOC(3)
183 return 0;
184 }
185 int main(void)
186 {
187 /* Notice that there is NO semicolon at the end of next line. */
188 char *buf = MALLOC(3)
189 return 0;
190 }
191 int main(void)
192 {
193 /* Notice that there is NO semicolon at the end of next line. */
194 char *buf = MALLOC(3)
195 return 0;
196 }
197 int main(void)
198 {
199 /* Notice that there is NO semicolon at the end of next line. */
200 char *buf = MALLOC(3)
201 return 0;
202 }
203 int main(void)
204 {
205 /* Notice that there is NO semicolon at the end of next line. */
206 char *buf = MALLOC(3)
207 return 0;
208 }