|
@@ 297-302 (lines=6) @@
|
| 294 |
|
$token_category = $upper; |
| 295 |
|
break; |
| 296 |
|
|
| 297 |
|
case 'EVENT': |
| 298 |
|
# issue 71 |
| 299 |
|
if ($prev_category === 'DROP' || $prev_category === 'ALTER' || $prev_category === 'CREATE') { |
| 300 |
|
$token_category = $upper; |
| 301 |
|
} |
| 302 |
|
break; |
| 303 |
|
|
| 304 |
|
case 'DATA': |
| 305 |
|
# prevent wrong handling of DATA as keyword |
|
@@ 327-332 (lines=6) @@
|
| 324 |
|
} |
| 325 |
|
break; |
| 326 |
|
|
| 327 |
|
case 'VIEW': |
| 328 |
|
# prevent wrong processing as keyword |
| 329 |
|
if ($prev_category === 'CREATE' || $prev_category === 'ALTER' || $prev_category === 'DROP') { |
| 330 |
|
$token_category = $upper; |
| 331 |
|
} |
| 332 |
|
break; |
| 333 |
|
|
| 334 |
|
/* These tokens get their own section, but have no subclauses. |
| 335 |
|
These tokens identify the statement but have no specific subclauses of their own. */ |