Merge pull request #1931 from shati-patel/docs/ql-lexer

Docs/QL lexer: Require whitespace character after annotation
This commit is contained in:
jf205
2019-09-14 07:00:31 +01:00
committed by GitHub

View File

@@ -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',