diff options
author | Michal Čihař <michal@cihar.com> | 2017-02-20 13:31:44 +0100 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-02-20 13:31:44 +0100 |
commit | d002e8b84122f7a0ab6d12da6f976a597e3a8500 (patch) | |
tree | ec7f8cd15fa00f961ad93f7ca01a900c9034ae6e | |
parent | 2d3570739667a6a1ce771492c7e2622fe5acae4b (diff) | |
download | sql-parser-d002e8b84122f7a0ab6d12da6f976a597e3a8500.zip sql-parser-d002e8b84122f7a0ab6d12da6f976a597e3a8500.tar.gz sql-parser-d002e8b84122f7a0ab6d12da6f976a597e3a8500.tar.bz2 |
Document that lack of break is intentional
Signed-off-by: Michal Čihař <michal@cihar.com>
-rw-r--r-- | src/Statements/LoadStatement.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Statements/LoadStatement.php b/src/Statements/LoadStatement.php index e15b692..369350a 100644 --- a/src/Statements/LoadStatement.php +++ b/src/Statements/LoadStatement.php @@ -352,6 +352,7 @@ class LoadStatement extends Statement return $state; } + // no break case 4: if ($token->keyword === 'CHARACTER SET') { ++$list->idx; @@ -360,6 +361,7 @@ class LoadStatement extends Statement return $state; } + // no break case 5: if ($token->keyword === 'FIELDS' || $token->keyword === 'COLUMNS' @@ -370,6 +372,7 @@ class LoadStatement extends Statement return $state; } + // no break case 6: if ($token->keyword === 'IGNORE') { ++$list->idx; @@ -387,6 +390,7 @@ class LoadStatement extends Statement return $state; } + // no break case 7: if ($token->keyword === 'SET') { ++$list->idx; @@ -395,6 +399,7 @@ class LoadStatement extends Statement return $state; } + // no break default: } |