Skip to content

Commit cf9aff1

Browse files
committed
tests(tags): add case where tag is on the right
1 parent 69328c4 commit cf9aff1

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

corpus/tags.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,14 @@ Hello
3535
(word)))
3636
(line
3737
(word)))
38+
39+
================================================================================
40+
Tag on the right
41+
================================================================================
42+
*inclusion*
43+
--------------------------------------------------------------------------------
44+
45+
(help_file
46+
(line
47+
(tag
48+
(word))))

grammar.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ module.exports = grammar({
44
extras: ($) => [/[\t ]/],
55

66
rules: {
7-
// TODO: add the actual grammar rules
87
help_file: ($) => repeat1($.line),
98

109
header: ($) => seq($.tag),

0 commit comments

Comments
 (0)