Skip to content

Commit 9c12fa3

Browse files
authored
Merge pull request github#3318 from shati-patel/lexer-unique
Highlight "unique" as a keyword in CodeQL docs
2 parents cfecc9c + 321eb44 commit 9c12fa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/language/global-sphinx-files/qllexer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ class QLLexer(RegexLexer):
4444
'max', 'min', 'module', 'newtype', 'not', 'none', 'or', 'order',
4545
'predicate', 'rank', 'result', 'select', 'strictconcat',
4646
'strictcount', 'strictsum', 'sum', 'super', 'then', 'this',
47-
'true', 'where'), prefix=r'\b', suffix=r'\b'),
47+
'true', 'unique', 'where'), prefix=r'\b', suffix=r'\b'),
4848
Keyword),
4949
# Identifiers
5050
(r'@?\w', Name),
5151
]
52-
}
52+
}

0 commit comments

Comments
 (0)