@@ -88,10 +88,6 @@
|
||||
"type": "SYMBOL",
|
||||
"name": "scheme_literal"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "_space_literal"
|
||||
},
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "status_code_pattern"
|
||||
@@ -176,9 +172,16 @@
|
||||
"type": "STRING",
|
||||
"value": "HTTP"
|
||||
},
|
||||
"_space_literal": {
|
||||
"type": "STRING",
|
||||
"value": " "
|
||||
"comment": {
|
||||
"type": "TOKEN",
|
||||
"content": {
|
||||
"type": "PREC",
|
||||
"value": -10,
|
||||
"content": {
|
||||
"type": "PATTERN",
|
||||
"value": "#.*"
|
||||
}
|
||||
}
|
||||
},
|
||||
"status_code_pattern": {
|
||||
"type": "PATTERN",
|
||||
@@ -190,7 +193,7 @@
|
||||
},
|
||||
"header_value": {
|
||||
"type": "PATTERN",
|
||||
"value": "[a-zA-Z-_0-9\\s:;\\.,\\\\\\/\\\"\\'\\?\\!\\(\\)\\{\\}\\[\\]@<>=\\-\\+\\*\\#\\$\\&`|~^%]+"
|
||||
"value": "[a-zA-Z\\-_0-9\\/\\\\]+"
|
||||
},
|
||||
"url": {
|
||||
"type": "PATTERN",
|
||||
@@ -198,6 +201,10 @@
|
||||
}
|
||||
},
|
||||
"extras": [
|
||||
{
|
||||
"type": "SYMBOL",
|
||||
"name": "comment"
|
||||
},
|
||||
{
|
||||
"type": "PATTERN",
|
||||
"value": "\\s"
|
||||
|
@@ -162,6 +162,10 @@
|
||||
"type": "VIEW",
|
||||
"named": false
|
||||
},
|
||||
{
|
||||
"type": "comment",
|
||||
"named": true
|
||||
},
|
||||
{
|
||||
"type": "header_name",
|
||||
"named": true
|
||||
|
1062
src/parser.c
1062
src/parser.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user