[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
etags: function not indexed after macro
From: |
Roman Pletka |
Subject: |
etags: function not indexed after macro |
Date: |
Fri, 12 May 2006 10:53:44 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Debian/1.7.12-1.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I tried to index the following code with etags:
#define DECLARE_TEST(name) \
static int test_##name;
DECLARE_TEST(var)
void my_func(int i) {
test_var = i;
}
void my_func2(int j) {
test_var = j;
}
It looks like etags does not create an entry for the my_func function because
the closing semicolon is in the definition of the macro. I am using etags that
comes with GNU Emacs 21.4 (Debian emacs21 21.4a-3). I tried the same code with
cscope and there it works.
Best regards,
Roman Pletka
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEZE0Y9GOBmbEdi04RAvUyAKDJ27k3wdlPhN4/zHq9a+fP/KknzgCfYLC1
mSKquH6hzoWMf0LRXzvL/14=
=Tizo
-----END PGP SIGNATURE-----
- etags: function not indexed after macro,
Roman Pletka <=