mirror of
https://github.com/github/codeql.git
synced 2026-01-24 20:02:58 +01:00
Merge pull request #1931 from shati-patel/docs/ql-lexer
Docs/QL lexer: Require whitespace character after annotation
This commit is contained in:
@@ -35,7 +35,7 @@ class QLLexer(RegexLexer):
|
||||
# Keywords
|
||||
(r'\b(boolean|date|float|int|string)\b', Keyword.Type),
|
||||
(r'\b(abstract|cached|deprecated|external|final|library|override|private|query'
|
||||
r'|(pragma|language|bindingset)\[\w*(,\s*\w*)*\])',
|
||||
r'|(pragma|language|bindingset)\[\w*(,\s*\w*)*\])\s',
|
||||
Keyword.Reserved),
|
||||
(words((
|
||||
'and', 'any', 'as', 'asc', 'avg', 'by', 'class','concat', 'count',
|
||||
|
||||
Reference in New Issue
Block a user