From 4c2b02ad446924511eb7e1a2899ad09e1e8305e7 Mon Sep 17 00:00:00 2001 From: Frederik Hudak Date: Mon, 8 Aug 2022 12:01:47 +0200 Subject: [PATCH] update to 7.56 --- package.json | 2 +- syntaxes/cds.tmLanguage.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 34451d5..1ce2825 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "cds", "displayName": "ABAP CDS Language Support", "description": "Syntax highlighting and snippets for ABAP CDS views", - "version": "0.7.1", + "version": "0.7.2", "engines": { "vscode": "^1.33.0" }, diff --git a/syntaxes/cds.tmLanguage.json b/syntaxes/cds.tmLanguage.json index 9fdb737..4bf5da7 100644 --- a/syntaxes/cds.tmLanguage.json +++ b/syntaxes/cds.tmLanguage.json @@ -98,7 +98,7 @@ "patterns": [ { "name": "keyword.other.abapcds", - "match": "(?<=\\s|^)(projection|root|composition|abstract|association|annotation|annotate|custom|dynamic|cache|accesspolicy|bypass|hierarchy|parent|child|source|start|siblings|order|inheriting|conditions|define|entity|extend|view|as|select|from|key|where|select|distinct|with|parameters|inner|outer|left|right|join|on|group|by|having|union|all|define|table|function|implemented|method|returns|and|or|case|when|then|else|end|to|one|is|null|preserving|type|default|array|of|role|grant|inherit|aspect|redirected\\s+to\\s+(parent|composition))(?=\\s+)" + "match": "(?i)(?<=\\s|^)(projection|root|composition|abstract|ascending|association|annotation|annotate|custom|descending|directory|dynamic|cache|accesspolicy|bypass|hierarchy\\(?|parent|child|source|start|siblings|order|inheriting|conditions|define|entity|extend|except|intersect|filter|view|as|select|from|key|where|select|distinct|with|parameters|inner|outer|left|right|join|on|group|by|having|union|all|define|table|function|implemented|method|multiple|parents|not\\s+allowed|leaves|allowed|orphans\\s+(ignore|error|root)|cycles\\s+(error|breakup)|generate\\s+spantree|cache|off|on|force|returns|redefine|and|or|case|when|then|else|end|to|one|is|null|period|depth|nodetype|load|bulk|incremental|preserving|type|default|array|of|role|grant|inherit|aspect|redirected\\s+to\\s+(parent|composition)|provider\\s+contract)(?=\\s+)" } ] }, @@ -106,7 +106,7 @@ "patterns": [ { "name": "entity.name.function.abapcds", - "match": "(?i)(?<=\\s)(abs|cast|ceil|div|division|floor|mod|round|concat|concat_with_space|instr|left|length|lpad|lower|ltrim|replace|right|rpad|rtrim|substring|upper|bintohex|hextobin|coalesce|fltp_to_dec|unit_conversion|currency_conversion|decimal_shift|dats_is_valid|dats_days_between|dats_add_days|dats_add_months|tims_is_valid|tstmp_is_valid|tstmp_current_utctimestamp|tstmp_seconds_between|tstmp_add_seconds|abap_system_timezone|abap_user_timezone|tstmp_to_dats|tstmp_to_tims|tstmp_to_dst|dats_tims_to_tstmp)\\(" + "match": "(?i)(?<=\\s+)(abs|cast|ceil|curr_to_decfloat_amount|div|division|floor|mod|round|concat|concat_with_space|datn_days_between|datn_add_days|datn_add_months|get_numeric_value|instr|left|length|lpad|lower|ltrim|replace|replace_regexpr|right|rpad|rtrim|substring|upper|bintohex|hextobin|coalesce|fltp_to_dec|unit_conversion|currency_conversion|decimal_shift|dats_is_valid|dats_days_between|dats_add_days|dats_add_months|tims_is_valid|tstmp_is_valid|tstmp_current_utctimestamp|tstmp_seconds_between|tstmp_add_seconds|utcl_current|utcl_add_seconds|utcl_seconds_between|tstmpl_to_utcl|tstmpl_from_utcl|dats_to_datn|dats_from_datn|tims_to_timn|tims_from_timn|abap_system_timezone|abap_user_timezone|tstmp_to_dats|tstmp_to_tims|tstmp_to_dst|dats_tims_to_tstmp)\\(" } ] }, @@ -290,7 +290,7 @@ "names": { "patterns": [ { - "match": "(?i)(?<=\\s)([/a-z_]+)\\.([/a-zA-Z_]+)\\s?", + "match": "(?i)(?<=\\s)([/a-z0-9_]+)\\.([/a-z0-9_]+)\\s?", "captures": { "1": { "name": "entity.name.type.abapcds" @@ -301,7 +301,7 @@ } }, { - "match": "(?i)(?<=\\s)([/a-z_]+)(?=,\\s?)", + "match": "(?i)(?<=\\s)([/a-z0-9_]+)(?=,\\s?)", "captures": { "1": { "name": "entity.name.type.abapcds"