diff options
Diffstat (limited to 'lexers')
| -rw-r--r-- | lexers/LexSQL.cxx | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/lexers/LexSQL.cxx b/lexers/LexSQL.cxx index 1375af5cb..14785ed49 100644 --- a/lexers/LexSQL.cxx +++ b/lexers/LexSQL.cxx @@ -307,7 +307,10 @@ static void FoldSQLDoc(unsigned int startPos, int length, int initStyle,  			} else {  				s[j] = '\0';  			} -			if ((!foldOnlyBegin) && (strcmp(s, "if") == 0 || strcmp(s, "loop") == 0)) { +			if ((!foldOnlyBegin) && ( +				strcmp(s, "if") == 0 || +				strcmp(s, "loop") == 0 || +				strcmp(s, "case") == 0)) {  				if (endFound) {  					// ignore  					endFound = false; | 
