Skip to content

Commit 0da4257

Browse files
committed
[SELF-INCOMPATIBLE]Elixir: use common "access" field
Elixir parser defined the parser specific "access" field though ctags had "access" COMMON field. The parser didn't use the common field because the main part of ctags didn't provide the way to set a value to the common field in an optlib parser. Now, via optscript, an optlib parser can set the common field. This change deletes the Elixir parser specific field. Instead, the change lets the parser use the common field. SELF-INCOMPATIBLE: the parser specific field was enabled by default. However, the common is field not. So you must enable the "access" common field explicitly with "--fields=+a" or `--field=+{access}`. Signed-off-by: Masatake YAMATO <[email protected]>
1 parent 1a38ddb commit 0da4257

File tree

14 files changed

+30
-45
lines changed

14 files changed

+30
-45
lines changed

Tmain/list-fields-with-prefix.d/stdout-expected.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ x UCTAGSxpath no NONE s-- no -- xpath for
1818
- UCTAGSmacrodef no CPreProcessor s-- no -- macro definition
1919
- UCTAGSmacrodef no CUDA s-- no -- macro definition
2020
- UCTAGSproperties no CUDA s-- no -- properties (static, inline, mutable,...)
21-
- UCTAGSaccess yes Elixir s-- no -- access
2221
- UCTAGShowImported no Go s-- no -- how the package is imported ("inline" for `.' or "init" for `_')
2322
- UCTAGSpackage yes Go s-- no -- the real package specified by the package name
2423
- UCTAGSpackageName yes Go s-- no -- the name for referring the package

Tmain/list-fields.d/stdout-expected.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ z kind no NONE s-- no r- [tags output] prepend "kind:" to k/ (or K/) field outpu
3636
- macrodef no CPreProcessor s-- no -- macro definition
3737
- macrodef no CUDA s-- no -- macro definition
3838
- properties no CUDA s-- no -- properties (static, inline, mutable,...)
39-
- access yes Elixir s-- no -- access
4039
- howImported no Go s-- no -- how the package is imported ("inline" for `.' or "init" for `_')
4140
- package yes Go s-- no -- the real package specified by the package name
4241
- packageName yes Go s-- no -- the name for referring the package
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--sort=no
2-
--fields=+K
2+
--fields=+Ka
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--sort=no
2-
--fields=+K
2+
--fields=+Ka
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--sort=no
2-
--fields=+K
2+
--fields=+Ka
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--sort=no
2-
--fields=+K
2+
--fields=+Ka
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--sort=no
2-
--fields=+K
2+
--fields=+Ka
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--sort=no
2-
--fields=+K
2+
--fields=+Ka
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--sort=no
2-
--fields=+K
2+
--fields=+Ka
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--sort=no
2-
--fields=+K
2+
--fields=+Ka

0 commit comments

Comments
 (0)