ruby: handle singleton method including ?!= in its name(sf.bug:364)
[geany-mirror.git] / tests / ctags / bug1086609.c
blob62a98cbd05eb64eb0788f451338bca2eb9e98b35
1 /*
2 Bugs item #1086609, was opened at 2004-12-16 13:07
3 Message generated for change (Tracker Item Submitted) made by Item Submitter
4 You can respond by visiting:
5 https://sourceforge.net/tracker/?func=detail&atid=106556&aid=1086609&group_id=6556
7 Category: None
8 Group: None
9 Status: Open
10 Resolution: None
11 Priority: 5
12 Submitted By: Mikhail Kruk (meshko)
13 Assigned to: Nobody/Anonymous (nobody)
14 Summary: ctags getting confused by #if 0
16 Initial Comment:
17 Here is a sample C program which confuses ctags. I
18 think every line in it is significant. Dropping any of
19 the #ifdefs or the #define makes the problem go away:
21 #if 0
22 #define __PROC__
23 int func1(
24 #if 0
25 #endif
29 #endif
31 int func2(int a)
35 Somehow the opening brace from line 3 doesn't get
36 ignored and the closing brace does get ignored and
37 ctags drops out on "int func2(int a)" line with "failed
38 to find match for '(' at line 11" error.
39 Granted, having #if 0 in the middle of args list is
40 weird, but perfeclty legal.