Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 785 Bytes

parser-asm.rst

File metadata and controls

26 lines (17 loc) · 785 Bytes

Asm parser

Maintainer:Masatake YAMATO <[email protected]>

The original (Exuberant Ctags) parser handles #define C preprocessor directive and C style comments by itself. In Universal Ctags Asm parser utilizes CPreProcessor meta parser for handling them. So a language object defined with #define is tagged as "defines" of CPreProcessor language, not Asm language.

$ cat input.S
#define S 1

$ e-ctags --fields=+l  -o - input.S
S    input.S /^#define S 1$/;"       d       language:Asm

$ u-ctags --fields=+l  -o - input.S
S    input.S /^#define S /;" d       language:CPreProcessor  file: