From 9187db585c7aa6193b9d97cc492ebae59ff97ee2 Mon Sep 17 00:00:00 2001 From: Shati Patel Date: Fri, 13 Sep 2019 16:13:13 +0100 Subject: [PATCH] QL lexer: Require whitespace character after annotation --- docs/language/global-sphinx-files/qllexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/language/global-sphinx-files/qllexer.py b/docs/language/global-sphinx-files/qllexer.py index 1d59dd4f2da..d31d4b0bf1f 100644 --- a/docs/language/global-sphinx-files/qllexer.py +++ b/docs/language/global-sphinx-files/qllexer.py @@ -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',