File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313(defconst ql--at-type-regex " \\ _<@\\ w+\\ >" )
1414(defconst ql--predicate-regex " \\ (\\ _<\\ w+\\ (\\ +\\ |\\ *\\ )?\\ _>\\ )\\ s-*(" )
1515(defconst ql--primitive-type-regex (regexp-opt '(" int" " string" " float" " boolean" " date" ) 'symbols ))
16- (defconst ql--annotation-regex (regexp-opt '(" abstract" " cached" " external" " final" " transient" " library" " private" " deprecated" " override" " query" " language " " bindingset " ) 'words ))
17- (defconst ql--pragma- regex " \\ <pragma *\\ [ *[a-z, ]*\\ ]" )
16+ (defconst ql--annotation-regex (regexp-opt '(" abstract" " cached" " external" " final" " transient" " library" " private" " deprecated" " override" " query" ) 'words ))
17+ (defconst ql--parameterized-annotation- regex " \\ <\\ ( pragma\\ |language \\ |bindingset \\ ) *\\ [ *[a-z, ]*\\ ]" )
1818(defconst ql--keywords
1919 '(" and" " any" " as" " asc" " avg" " boolean" " by" " class" " concat" " count" " date" " desc" " else" " exists" " extends" " false" " float" " forall" " forex" " from" " if" " implies" " import" " in" " instanceof" " int" " max" " min" " module" " not" " none" " or" " order" " predicate" " rank" " result" " select" " strictconcat" " strictcount" " strictsum" " string" " sum" " super" " then" " this" " true" " where"
2020 )
2525 (, ql--primitive-type-regex . 'font-lock-type-face )
2626 (, ql--at-type-regex 0 'font-lock-type-face )
2727 (, ql--annotation-regex . 'font-lock-preprocessor-face )
28- (, ql--pragma -regex . 'font-lock-preprocessor-face ))
28+ (, ql--parameterized-annotation -regex . 'font-lock-preprocessor-face ))
2929 )
3030
3131(defvar ql-mode-base-map
You can’t perform that action at this time.
0 commit comments