plugins: plugin loader redesign
[geany-mirror.git] / tests / ctags / bug961001.v
blob94ad0859ba4b4f165239065d05145d3ef32a10f2
1 /*
2 * In Verilog, the following two lines are both valid syntax:
4 * `define GUEST
5 * `define GUEST <value>
7 * The first defines "GUEST" as existing, but with no assigned
8 * value. The second defines "GUEST" as existing with an
9 * assigned value. Ctags55 correctly handles both cases, but
10 * Ctags551 - Ctags554 only handles the `define with value
11 * correctly. Here is some test code to demonstrate this:
13 `define HOSTA
14 `define HOSTB
15 `define HOSTC
16 `define HOSTD
18 `define GUESTA 1
19 `define GUESTB 2
20 `define GUESTC 3
21 `define GUESTD 4
23 * Ctags55 correctly generates a tag for all `defines in the
24 * code, but Ctags554 does not generate tags for "HOSTB"
25 * or "HOSTD".