aboutsummaryrefslogtreecommitdiff
path: root/src/node-types.json
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-09 23:32:39 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-09 23:32:39 +0100
commitb168a6fb6d771e4efd99762767a32a80ef8fb6d7 (patch)
tree67986d3de922b18d5b208892bfdf3434987ea604 /src/node-types.json
parent88fae5dda7d15936a5372cc738f5b70fb2a96550 (diff)
Modify the grammar a bit
Diffstat (limited to 'src/node-types.json')
-rw-r--r--src/node-types.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/node-types.json b/src/node-types.json
index 44660f7..3a77c7d 100644
--- a/src/node-types.json
+++ b/src/node-types.json
@@ -70,14 +70,14 @@
"fields": {},
"children": {
"multiple": true,
- "required": true,
+ "required": false,
"types": [
{
"type": "node",
"named": true
},
{
- "type": "text_node",
+ "type": "text",
"named": true
}
]
@@ -99,12 +99,12 @@
}
},
{
- "type": "text_node",
+ "type": "text",
"named": true,
"fields": {},
"children": {
"multiple": true,
- "required": false,
+ "required": true,
"types": [
{
"type": "literal_text",