diff options
author | Jeremy Dorn <jeremy@jeremy.(none)> | 2012-10-31 09:52:03 -0700 |
---|---|---|
committer | Jeremy Dorn <jeremy@jeremy.(none)> | 2012-10-31 09:52:03 -0700 |
commit | afdd8dd767758bba4facc058a24bc43adc73056a (patch) | |
tree | 904599748eb390fb46cbb3993f1ef627846bc519 /lib | |
parent | 9bd0f82ef45cc54d80e423a65f1c5e837aa11ab0 (diff) | |
download | sql-formatter-afdd8dd767758bba4facc058a24bc43adc73056a.zip sql-formatter-afdd8dd767758bba4facc058a24bc43adc73056a.tar.gz sql-formatter-afdd8dd767758bba4facc058a24bc43adc73056a.tar.bz2 |
Adding more punctuation to the word boundary list.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/SqlFormatter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SqlFormatter.php b/lib/SqlFormatter.php index 0052392..f988d90 100644 --- a/lib/SqlFormatter.php +++ b/lib/SqlFormatter.php @@ -47,7 +47,7 @@ class SqlFormatter ); // Punctuation that can be used as a boundary between other tokens - protected static $boundaries = array(',', ';', ')', '(', '.', '=', '<', '>', '+', '-', '*', '/'); + protected static $boundaries = array(',', ';', ')', '(', '.', '=', '<', '>', '+', '-', '*', '/', '!', '^', '%', '|', '&'); // White space characters. These can also be used as a boundary between other tokens protected static $whitespace = array(' ', "\n", "\t", "\r"); |