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

ReStructuredText: run guest parsers on code blocks #3839

Merged
merged 2 commits into from
Oct 22, 2023

Conversation

masatake
Copy link
Member

input.rst:

C examples
------------

.. code-block:: C

	int main (void)
	{
		return 0;
	}

output.tags with ./ctags --extras=+g --fields=+lK -o - /tmp/input.rst

C examples	/tmp/input.rst	/^C examples$/;"	title	language:ReStructuredText
main	/tmp/input.rst	/^	int main (void)$/;"	function	language:C	typeref:typename:int

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (a792671) 85.04% compared to head (a024af5) 85.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3839   +/-   ##
=======================================
  Coverage   85.04%   85.05%           
=======================================
  Files         228      228           
  Lines       53935    53982   +47     
=======================================
+ Hits        45869    45914   +45     
- Misses       8066     8068    +2     
Files Coverage Δ
parsers/rst.c 93.18% <96.07%> (+0.55%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@masatake masatake merged commit 5595e38 into universal-ctags:master Oct 22, 2023
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant