1
0
mirror of https://github.com/salexdv/bsl_console.git synced 2024-11-30 08:57:08 +02:00

Доработка подсветки синтаксиса языка запросов fix #114

This commit is contained in:
salexdv 2021-05-24 11:17:11 +03:00
parent c81d6d72dd
commit 027c6b2ea6

View File

@ -330,7 +330,14 @@ define([], function () {
expressions: query_expressions,
operators: /[=><+\-*\/%;,]+/,
tokenizer: {
root: [
root: [
[/([a-zA-Z\u0410-\u044F]+)(\s+)(как|as)(\s+)([a-zA-Z\u0410-\u044F]+)/, [
{token: 'query'},
{token: 'query'},
{token: 'query.keyword'},
{token: 'query'},
{token: 'query'},
]],
[/(как|as)(\s+)([a-zA-Z\u0410-\u044F]+)(\()/, [
{token: 'query.keyword'},
{token: 'query'},