enforce key uniqueness on with expression, fix scanner.c

This commit is contained in:
danhanson committed 2026-09-07 20:33:43 -05:00
1 parent 6105fd9002
commit 356cc3a885
10 files changed
+53165 -53162

No files matched your search

+38 -39
View File
@@ -2137,6 +2137,10 @@
{
"type": "SEQ",
"members": [
{
"type": "SYMBOL",
"name": "_kwarg_name"
},
{
"type": "FIELD",
"name": "variable",
@@ -4690,6 +4694,10 @@
"value": "include"
}
},
{
"type": "SYMBOL",
"name": "_tag_open"
},
{
"type": "SEQ",
"members": [
@@ -7849,37 +7857,12 @@
}
},
{
"type": "REPEAT1",
"content": {
"type": "SEQ",
"members": [
{
"type": "PATTERN",
"value": "[ \\t\\r\\n]+"
},
{
"type": "SEQ",
"members": [
{
"type": "FIELD",
"name": "variable",
"content": {
"type": "SYMBOL",
"name": "identifier"
}
},
{
"type": "STRING",
"value": "="
},
{
"type": "SYMBOL",
"name": "filtered_value"
}
]
}
]
}
"type": "SYMBOL",
"name": "_tag_open"
},
{
"type": "SYMBOL",
"name": "_tag_kwargs"
},
{
"type": "CHOICE",
@@ -7961,12 +7944,25 @@
},
"extras": [],
"conflicts": [
["template"],
["predicate"],
["library", "load"],
["_translate_option"],
["_filtered_value_spaced"],
["_filter_expression_spaced"]
[
"template"
],
[
"predicate"
],
[
"library",
"load"
],
[
"_translate_option"
],
[
"_filtered_value_spaced"
],
[
"_filter_expression_spaced"
]
],
"precedences": [],
"externals": [
@@ -8020,7 +8016,10 @@
}
],
"inline": [],
"supertypes": ["template_tag", "template_block_groups"],
"supertypes": [
"template_tag",
"template_block_groups"
],
"reserved": {
"global": [
{
@@ -8143,4 +8142,4 @@
}
]
}
}
}