Add count keyword.

This commit is contained in:
William Candillon 2012-02-07 16:11:06 +01:00
commit 1bba5fb6d7

View file

@ -27,7 +27,7 @@ var XQueryHighlightRules = function() {
var keywords = lang.arrayToMap(
("return|for|let|where|order|by|declare|function|variable|xquery|version|option|namespace|import|module|" +
"switch|default|try|catch|group|tumbling|sliding|window|start|end|at|only|" +
"if|then|else|as|and|or|typeswitch|case|ascending|descending|empty|in").split("|")
"if|then|else|as|and|or|typeswitch|case|ascending|descending|empty|in|count").split("|")
);
// regexp must not have capturing parentheses