Sha256: f7c76568addf65e6d2ed3de4a0e118e2d48f7b8d7b6eaf82320085fa8908612c

Contents?: true

Size: 788 Bytes

Versions: 2

Compression:

Stored size: 788 Bytes

Contents

.. _asm:

======================================================================
Asm parser
======================================================================

.. NOT REVIEWED YET

:Maintainer: Masatake YAMATO <yamato@redhat.com>

The orignal(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 an language object defined with #define is tagged as
"defines" of CPreProcessor language, not Asm language.

.. code-block:: console

   $ 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:
   

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ctags.rb-1.1.4 ext/vendor/ctags/docs/parser-asm.rst
ctags.rb-1.1.3 ext/vendor/ctags/docs/parser-asm.rst