Subject: | Add more keywords |
I have added the following keywords: ORDER DESC ASC CASE WHEN THEN ELSE END.
Subject: | Beautify.pm.diff |
--- Beautify.pm.orig 2010-11-19 15:32:05.000000000 -0800
+++ Beautify.pm 2010-11-19 15:37:22.000000000 -0800
@@ -4,7 +4,7 @@
use strict;
use warnings;
-our $VERSION = 0.03;
+our $VERSION = 0.04;
use SQL::Tokenizer;
use Carp;
@@ -243,6 +243,7 @@
SELECT WHERE FROM HAVING GROUP BY UNION INTERSECT EXCEPT LEFT RIGHT
INNER OUTER CROXX JOIN AND OR VARCHAR INTEGER BIGINT TEXT IS NULL NOT
BETWEEN EXTRACT EPOCH INTERVAL IF LIMIT AS
+ ORDER DESC ASC CASE WHEN THEN ELSE END
);
return ~~ grep { $_ eq uc($token) } @KEYWORD;