treat jinja as comments in hcl
This commit is contained in:
@@ -349,6 +349,7 @@ module.exports = function make_grammar(dialect) {
|
|||||||
comment: ($) =>
|
comment: ($) =>
|
||||||
token(
|
token(
|
||||||
choice(
|
choice(
|
||||||
|
seq("{%", /.*/),
|
||||||
seq("#", /.*/),
|
seq("#", /.*/),
|
||||||
seq("//", /.*/),
|
seq("//", /.*/),
|
||||||
seq("/*", /[^*]*\*+([^/*][^*]*\*+)*/, "/"),
|
seq("/*", /[^*]*\*+([^/*][^*]*\*+)*/, "/"),
|
||||||
|
|||||||
13
src/grammar.json
generated
13
src/grammar.json
generated
@@ -1695,6 +1695,19 @@
|
|||||||
"content": {
|
"content": {
|
||||||
"type": "CHOICE",
|
"type": "CHOICE",
|
||||||
"members": [
|
"members": [
|
||||||
|
{
|
||||||
|
"type": "SEQ",
|
||||||
|
"members": [
|
||||||
|
{
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "{%"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "PATTERN",
|
||||||
|
"value": ".*"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "SEQ",
|
"type": "SEQ",
|
||||||
"members": [
|
"members": [
|
||||||
|
|||||||
2861
src/parser.c
generated
2861
src/parser.c
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user