Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main,json-writer: allow the writer to disable "fixed" fields #2080

Conversation

masatake
Copy link
Member

Close #2065.

The tags format must include name, input, and pattern fields.
When running ctags, disabling them are not allowed. To implement
this rule, "fixed" fields were introduced to field.c.

However, this rule is applicable only to the ctags writer. The
other writer like json-writer doesn't need to follow the rule.

The fixed field is implemented in field.c. Now, it moves to writer-ctags.c.
As the result, json-writer can print the result with disabling
"name", "input", and/or "pattern".

Signed-off-by: Masatake YAMATO yamato@redhat.com

@masatake masatake force-pushed the allow-to-disbale-fixed-fieds-in-json-writer branch from b8f212d to e880faf Compare April 13, 2019 14:21
Close universal-ctags#2065.

The tags format must include name, input, and pattern fields.
When running ctags, disabling them are not allowed. To implement
this rule, "fixed" fields were introduced to field.c.

However, this rule is applicable only to the ctags writer. The
other writer like json-writer doesn't need to follow the rule.

The fixed field is implemented in field.c. Now, it moves to writer-ctags.c.
As the result, json-writer can print the result with disabling
"name", "input", and/or "pattern".

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
@masatake masatake force-pushed the allow-to-disbale-fixed-fieds-in-json-writer branch from e880faf to 8182f84 Compare April 14, 2019 07:58
@coveralls
Copy link

Coverage Status

Coverage increased (+0.0009%) to 85.342% when pulling 8182f84 on masatake:allow-to-disbale-fixed-fieds-in-json-writer into 61cc66c on universal-ctags:master.

@masatake masatake merged commit d738e3d into universal-ctags:master Apr 16, 2019
@masatake masatake deleted the allow-to-disbale-fixed-fieds-in-json-writer branch April 16, 2019 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants