Skip to content

Commit

Permalink
Tmain: add a case for printing parser specific boolean field in tags …
Browse files Browse the repository at this point in the history
…output mode

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
  • Loading branch information
masatake committed Oct 19, 2020
1 parent 5d3c4bf commit 663bfb1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions Tmain/tags-output-boolean-fields.d/input.ctst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f
8 changes: 8 additions & 0 deletions Tmain/tags-output-boolean-fields.d/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright: 2016 Masatake YAMATO
# License: GPL-2

CTAGS=$1

${CTAGS} --quiet --options=NONE -o - \
--output-format=u-ctags \
--language-force=CTagsSelfTest input.ctst
Empty file.
4 changes: 4 additions & 0 deletions Tmain/tags-output-boolean-fields.d/stdout-expected.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
atag input.ctst /^f$/;" f bField:
btag input.ctst /^f$/;" f
ctag input.ctst /^f$/;" f sbField:val
dtag input.ctst /^f$/;" f sbField:

0 comments on commit 663bfb1

Please sign in to comment.