diff options
author | Jonathan Drake <jonathan.drake@panasonic.aero> | 2014-04-16 13:29:15 -0700 |
---|---|---|
committer | Jonathan Drake <jonathan.drake@panasonic.aero> | 2014-04-16 13:29:15 -0700 |
commit | 85bd9434a3db5ac38f1e89ed94a0b52305d14767 (patch) | |
tree | 0bf3bf148e5b80ec2327a5eba51ae76b9ff0a464 | |
parent | 08db51b6cd5639fa311f63ff7ebd71130fd58388 (diff) | |
download | sql-formatter-85bd9434a3db5ac38f1e89ed94a0b52305d14767.zip sql-formatter-85bd9434a3db5ac38f1e89ed94a0b52305d14767.tar.gz sql-formatter-85bd9434a3db5ac38f1e89ed94a0b52305d14767.tar.bz2 |
Added brackets as token boundaries
-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 a84eda4..8bc505d 100644 --- a/lib/SqlFormatter.php +++ b/lib/SqlFormatter.php @@ -102,7 +102,7 @@ class SqlFormatter ); // Punctuation that can be used as a boundary between other tokens - protected static $boundaries = array(',', ';',':', ')', '(', '.', '=', '<', '>', '+', '-', '*', '/', '!', '^', '%', '|', '&', '#'); + protected static $boundaries = array(',', ';',':', ']', '[', ')', '(', '.', '=', '<', '>', '+', '-', '*', '/', '!', '^', '%', '|', '&', '#'); // For HTML syntax highlighting // Styles applied to different token types |