diff --git a/library/Msd/Sql/Parser.php b/library/Msd/Sql/Parser.php
index 9a73ed2..f24d883 100644
--- a/library/Msd/Sql/Parser.php
+++ b/library/Msd/Sql/Parser.php
@@ -161,7 +161,7 @@ class Msd_Sql_Parser
return strlen($sqlQuery);
}
- return $nextSemicolon;
+ return $nextSemicolon;
}
while ($nextString < $nextSemicolon) {
diff --git a/library/Msd/Sql/Parser/Exception.php b/library/Msd/Sql/Parser/Exception.php
index e4c9700..279c0cb 100644
--- a/library/Msd/Sql/Parser/Exception.php
+++ b/library/Msd/Sql/Parser/Exception.php
@@ -17,4 +17,5 @@ require_once 'Msd/Exception.php';
* @subpackage SQL-Browser
*/
class Msd_Sql_Parser_Exception extends Msd_Exception
-{ }
+{
+}
diff --git a/library/Msd/Sqlparser.php b/library/Msd/Sqlparser.php
deleted file mode 100644
index e024b31..0000000
--- a/library/Msd/Sqlparser.php
+++ /dev/null
@@ -1,78 +0,0 @@
-addText($text);
- }
-
- /**
- * Add text to internal text buffer
- *
- * @param string $text The text to add
- * @return void
- */
- public function addText($text)
- {
- $this->_text .= $text;
- }
-
- /**
- * Parse added text as sql und split into queries
- *
- * @return void
- */
- public function parse()
- {
- //TODO implement parser
- return $this->_text;
- $i=1;
- $tokens = token_get_all('_text.'?>');
- unset($tokens[0]);
- unset($tokens[count($tokens)]);
- //unset($tokens[count($tokens)]);
- //unset($tokens[0]);
- foreach ($tokens as $token) {
- if (is_string($token)) {
- // simple 1-character token
- echo "
$i. $token";
- } else {
- // token array
- list($token, $text) = $token;
- echo "
$i. ". token_name($token)." => "
- . htmlspecialchars($text);
- }
- $i++;
- }
- }
-}