1
0
mirror of https://github.com/salexdv/bsl_console.git synced 2025-02-07 13:31:37 +02:00

Доработка описания токенов для языка запросов в режиме кода

This commit is contained in:
salexdv 2021-04-30 11:28:40 +03:00
parent 1ceb0899c6
commit 860d9f8761

View File

@ -235,7 +235,11 @@ define([], function () {
[/&/, 'query.param'],
[/"".*""/, 'query.string'],
[/[()]/, 'query.brackets'],
[/\/\//, 'query.comment'],
[/\/\/.*$/, 'comment'],
[/(\|\s*)(\/\/.*$)/, [
{token: 'query'},
{token: 'query.comment'}
]],
[/@queryOperators/, 'query.operator'],
[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/, 'query.float'],
[/[0-9_]+/, 'query.int'],