@@ -7,13 +7,13 @@ export default function grammar(){
7
7
// SUMMARY
8
8
// rules = 13
9
9
// udts = 0
10
- // opcodes = 66
10
+ // opcodes = 65
11
11
// --- ABNF original opcodes
12
12
// ALT = 7
13
13
// CAT = 4
14
14
// REP = 5
15
15
// RNM = 16
16
- // TLS = 28
16
+ // TLS = 27
17
17
// TBS = 1
18
18
// TRG = 5
19
19
// --- SABNF superset opcodes
@@ -82,11 +82,10 @@ export default function grammar(){
82
82
/* template-expression-param-name */
83
83
this . rules [ 5 ] . opcodes = [ ] ;
84
84
this . rules [ 5 ] . opcodes [ 0 ] = { type : 3 , min : 1 , max : Infinity } ; // REP
85
- this . rules [ 5 ] . opcodes [ 1 ] = { type : 1 , children : [ 2 , 3 , 4 , 5 ] } ; // ALT
86
- this . rules [ 5 ] . opcodes [ 2 ] = { type : 5 , min : 0 , max : 121 } ; // TRG
85
+ this . rules [ 5 ] . opcodes [ 1 ] = { type : 1 , children : [ 2 , 3 , 4 ] } ; // ALT
86
+ this . rules [ 5 ] . opcodes [ 2 ] = { type : 5 , min : 0 , max : 122 } ; // TRG
87
87
this . rules [ 5 ] . opcodes [ 3 ] = { type : 6 , string : [ 124 ] } ; // TBS
88
88
this . rules [ 5 ] . opcodes [ 4 ] = { type : 5 , min : 126 , max : 1114111 } ; // TRG
89
- this . rules [ 5 ] . opcodes [ 5 ] = { type : 7 , string : [ 122 ] } ; // TLS
90
89
91
90
/* pchar */
92
91
this . rules [ 6 ] . opcodes = [ ] ;
@@ -159,7 +158,7 @@ export default function grammar(){
159
158
str += "slash = \"/\"\n" ;
160
159
str += "path-literal = 1*pchar\n" ;
161
160
str += "template-expression = \"{\" template-expression-param-name \"}\"\n" ;
162
- str += "template-expression-param-name = 1*( %x00-79 / %x7C / %x7E-10FFFF / \"z\" ) ; every UTF8 character except { and } (from OpenAPI)\n" ;
161
+ str += "template-expression-param-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n" ;
163
162
str += "\n" ;
164
163
str += "; Characters definitions (from RFC 3986)\n" ;
165
164
str += "pchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n" ;
0 commit comments