File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -129,22 +129,22 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
129
129
130
130
token termaltseq {
131
131
<termconjseq >
132
- [ '||' <.ws > { $ * SEQ := 1 ; } <termconjseq > ]*
132
+ [ '||' <.ws > [ { $ * SEQ := 1 ; } <termconjseq > || < .throw_null_pattern > ] ]*
133
133
}
134
134
135
135
token termconjseq {
136
136
<termalt >
137
- [ '&&' <.ws > { $ * SEQ := 0 ; } <termalt > ]*
137
+ [ '&&' <.ws > [ { $ * SEQ := 0 ; } <termalt > || < .throw_null_pattern > ] ]*
138
138
}
139
139
140
140
token termalt {
141
141
<termconj >
142
- [ '|' <![ | ] > <.ws > { $ * SEQ := 0 ; } <termconj > ]*
142
+ [ '|' <![ | ] > <.ws > [ { $ * SEQ := 0 ; } <termconj > || < .throw_null_pattern > ] ]*
143
143
}
144
144
145
145
token termconj {
146
146
<termish >
147
- [ '&' <![ & ] > <.ws > { $ * SEQ := 0 ; } <termish > ]*
147
+ [ '&' <![ & ] > <.ws > [ { $ * SEQ := 0 ; } <termish > || < .throw_null_pattern > ] ]*
148
148
}
149
149
150
150
token termish {
You can’t perform that action at this time.
0 commit comments