Skip to content

Commit

Permalink
Changed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rozwell committed Jul 24, 2012
1 parent 5e9dfc1 commit bfef0d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generator/lib/util/PropelSQLParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,11 @@ public function getNextStatement()
}

if (!$isInString) {
// FIXME: since we're iterating char by char, we can use only 1-char delimiters
// FIXME: add support for multi character delimiters
if (preg_match('/DELIMITER (.+)$/i', $parsedString, $matches)) {
// check if 2nd character after delimiter exists and is a new line
if ($char && $char != "\n") {
throw new PropelException("Delimiters with more than 1 character are not supported! (yet?)");
throw new PropelException("Delimiters with more than 1 character are not supported yet.");
}

// remove DELIMITER from string because it's a command-line keyword only
Expand Down

0 comments on commit bfef0d7

Please sign in to comment.