Skip to content

Commit f70b741

Browse files
authored
Merge pull request #3207 from masatake/ipythoncell--fix-doc-for-extra
IPythonCell: remove unnecessary whitespaces in the description for an extra
2 parents b6a5682 + eb8ac46 commit f70b741

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Tmain/extras-long.d/stdout-expected.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ q qualified no NONE no Include an extra class-quali
88
r reference no NONE no Include reference tags
99
s subparser yes NONE no Include tags generated by subparsers
1010
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
11-
- doubleSharps no IPythonCell no Include cells starting from ##
11+
- doubleSharps no IPythonCell no Include cells starting from ##
1212
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
1313
- funcmap yes QemuHX no Include mapping SQMP to C function name
1414
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars
@@ -22,7 +22,7 @@ q qualified no NONE no Include an extra class-quali
2222
r reference no NONE no Include reference tags
2323
s subparser yes NONE no Include tags generated by subparsers
2424
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
25-
- doubleSharps no IPythonCell no Include cells starting from ##
25+
- doubleSharps no IPythonCell no Include cells starting from ##
2626
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
2727
- funcmap yes QemuHX no Include mapping SQMP to C function name
2828
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars
@@ -36,7 +36,7 @@ q qualified no NONE no Include an extra class-quali
3636
r reference no NONE no Include reference tags
3737
s subparser yes NONE no Include tags generated by subparsers
3838
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
39-
- doubleSharps no IPythonCell no Include cells starting from ##
39+
- doubleSharps no IPythonCell no Include cells starting from ##
4040
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
4141
- funcmap yes QemuHX no Include mapping SQMP to C function name
4242
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars
@@ -50,7 +50,7 @@ q qualified no NONE no Include an extra class-quali
5050
r reference yes NONE no Include reference tags
5151
s subparser yes NONE no Include tags generated by subparsers
5252
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
53-
- doubleSharps no IPythonCell no Include cells starting from ##
53+
- doubleSharps no IPythonCell no Include cells starting from ##
5454
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
5555
- funcmap yes QemuHX no Include mapping SQMP to C function name
5656
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars
@@ -64,7 +64,7 @@ q qualified yes NONE no Include an extra class-quali
6464
r reference yes NONE no Include reference tags
6565
s subparser yes NONE no Include tags generated by subparsers
6666
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
67-
- doubleSharps no IPythonCell no Include cells starting from ##
67+
- doubleSharps no IPythonCell no Include cells starting from ##
6868
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
6969
- funcmap yes QemuHX no Include mapping SQMP to C function name
7070
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ q qualified yes NONE no Include an extra class-quali
88
r reference yes NONE no Include reference tags
99
s subparser yes NONE no Include tags generated by subparsers
1010
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
11-
- doubleSharps no IPythonCell no Include cells starting from ##
11+
- doubleSharps no IPythonCell no Include cells starting from ##
1212
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
1313
- funcmap yes QemuHX no Include mapping SQMP to C function name
1414
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars
@@ -22,7 +22,7 @@ q qualified yes NONE no Include an extra class-qualified tag entry for each tag
2222
r reference yes NONE no Include reference tags
2323
s subparser yes NONE no Include tags generated by subparsers
2424
- implicitClass no GDScript no Include tag for the implicitly defined unnamed class
25-
- doubleSharps no IPythonCell no Include cells starting from ##
25+
- doubleSharps no IPythonCell no Include cells starting from ##
2626
- configPrefixed yes Kconfig no prepend CONFIG_ to config names
2727
- funcmap yes QemuHX no Include mapping SQMP to C function name
2828
- whitespaceSwapped yes Robot no Include tags swapping whitespace and underscore chars

optlib/iPythonCell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ extern parserDefinition* IPythonCellParser (void)
3636
{
3737
.enabled = false,
3838
.name = "doubleSharps",
39-
.description = " Include cells starting from ##",
39+
.description = "Include cells starting from ##",
4040
},
4141
};
4242
static tagRegexTable IPythonCellTagRegexTable [] = {

optlib/iPythonCell.ctags

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#
1818
--langdef=IPythonCell{base=Python}
1919
--kinddef-IPythonCell=c,cell,cells
20-
--_extradef-IPythonCell=doubleSharps, Include cells starting from ##
20+
--_extradef-IPythonCell=doubleSharps,Include cells starting from ##
2121

2222
--regex-IPythonCell=/^[ \t]*(# ?%%|# <codecell>)[ \t]*(.*[^ \t])$/\2/c/{exclusive}
2323
--regex-IPythonCell=/^[ \t]*##[ \t]*(.*[^ \t])$/\1/c/{_extra=doubleSharps}{exclusive}

0 commit comments

Comments
 (0)