Skip to content

Commit

Permalink
add field
Browse files Browse the repository at this point in the history
  • Loading branch information
treywood committed Aug 27, 2024
1 parent f52e70b commit 0f572d4
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 83 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ module.exports = grammar({
seq(
token(prec(4, />>!?/)),
WS,
$.path,
field("path", $.path),
NL
),

Expand Down
8 changes: 6 additions & 2 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 11 additions & 10 deletions src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

134 changes: 67 additions & 67 deletions src/parser.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion test/corpus/body.txt
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ Content-Type: application/json
value: (value))
body: (external_body
path: (path)))
(res_redirect (path))
(res_redirect
path: (path))
(res_handler_script (path))))


Expand Down
Loading

0 comments on commit 0f572d4

Please sign in to comment.