@@ 197-204 (lines=8) @@ | ||
194 | } |
|
195 | } |
|
196 | ||
197 | if ($state !== 3) { |
|
198 | $parser->error( |
|
199 | 'Unexpected end of CASE expression', |
|
200 | $list->tokens[$list->idx - 1] |
|
201 | ); |
|
202 | } else { |
|
203 | $ret->expr = self::build($ret); |
|
204 | } |
|
205 | ||
206 | --$list->idx; |
|
207 |
@@ 284-289 (lines=6) @@ | ||
281 | $ret[] = $expr; |
|
282 | } |
|
283 | ||
284 | if (($state !== 0) && ($state !== 6)) { |
|
285 | $parser->error( |
|
286 | 'A closing bracket was expected.', |
|
287 | $list->tokens[$list->idx - 1] |
|
288 | ); |
|
289 | } |
|
290 | ||
291 | --$list->idx; |
|
292 |