diff options
author | rowanbeentje <rowan@beent.je> | 2009-12-28 23:56:11 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-12-28 23:56:11 +0000 |
commit | b7bfae119265c7b09dad7160175844198c9289bc (patch) | |
tree | 90dfe7af6206ed354385b82c45b14001b0777e6b /Source/SPSQLParser.h | |
parent | bf7ed8561accb5a3ce2e7cb8f681017adcd8f055 (diff) | |
download | sequelpro-b7bfae119265c7b09dad7160175844198c9289bc.tar.gz sequelpro-b7bfae119265c7b09dad7160175844198c9289bc.tar.bz2 sequelpro-b7bfae119265c7b09dad7160175844198c9289bc.zip |
- Replace /* */ notation in long comments with unicode look-alikes to fix warnings and improve source readability
Diffstat (limited to 'Source/SPSQLParser.h')
-rw-r--r-- | Source/SPSQLParser.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPSQLParser.h b/Source/SPSQLParser.h index 40d23e6d..9625f8a4 100644 --- a/Source/SPSQLParser.h +++ b/Source/SPSQLParser.h @@ -42,9 +42,9 @@ * While some methods may look similar to NSScanner methods, and others look like they could be * achieved with Regex libraries or other string parsing libraries, this class was written with * the following goals in mind: - * - SQL comments, in "/* ... * /", "#" and "--[\s]" form, are ignored automatically while parsing - + * - SQL comments, in "⁄* ... *⁄", "#" and "--[\s]" form, are ignored automatically while parsing - *but* are left in the strings in question, to allow (for example) MySQL-version specific query - support, eg /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT * / + support, eg ⁄*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT *⁄ * - Support for quoted strings in most commands, allowing strings quoted with ", ', and ` characters - including support for \-escaping of the quote characters within "- and '-terminated strings. * - Optional support for bracket capturing in most commands. This can allow simpler parsing of strings @@ -80,7 +80,7 @@ typedef enum _SPCommentTypes { - (void) setIgnoringCommentStrings:(BOOL)ignoringCommentStrings; /* - * Removes comments within the current string, trimming "#", "--[/s]", and "/* * /" style strings. + * Removes comments within the current string, trimming "#", "--[/s]", and "⁄* *⁄" style strings. */ - (void) deleteComments; |