This patch makes gtags-parser pick up symbols in #{if,elif,ifdef,ifndef}
line in assembly source. 

 gtags-parser/asm_parse.y |   28 +++++++++--------------
 gtags-parser/asm_scan.l  |   57 ++++++++++++++++++++++++++++++++++++++++++-----
 gtags/gtags.c            |    4 ---
 gtags/manual.in          |    2 -
 4 files changed, 63 insertions(+), 28 deletions(-)

==== Current CVS version ====
[linux-2.6.25-rc7]$ global -sx CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2  230 arch/mn10300/kernel/process.c #ifdef 
CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2   19 include/asm-mn10300/current.h #ifdef 
CONFIG_MN10300_CURRENT_IN_E2

==== Patched version ====
[linux-2.6.25-rc7]$ global -sx CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2  200 arch/mn10300/kernel/head.S #ifdef 
CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2  230 arch/mn10300/kernel/process.c #ifdef 
CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2   57 arch/mn10300/kernel/switch_to.S #ifdef 
CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2   19 arch/mn10300/kernel/vmlinux.lds.S #ifndef 
CONFIG_MN10300_CURRENT_IN_E2
CONFIG_MN10300_CURRENT_IN_E2   19 include/asm-mn10300/current.h #ifdef 
CONFIG_MN10300_CURRENT_IN_E2

----
Hideki IWAMOTO  [EMAIL PROTECTED]

Attachment: pickup-symbols-in-ifdef-line.patch
Description: Binary data

_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to