From 7ee0e02883828d1137cb8fa8ad8a137540d93d9b Mon Sep 17 00:00:00 2001 From: Alexandr Fadeev <5967447+fadeevab@users.noreply.github.com> Date: Wed, 23 Oct 2019 01:45:07 -0700 Subject: [PATCH] Makefile testcase for updated scheme to support the following: var:=$(val:.c=.o) (#83121) --- .../make/test/colorize-fixtures/makefile | 1 + .../make/test/colorize-results/makefile.json | 55 +++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/extensions/make/test/colorize-fixtures/makefile b/extensions/make/test/colorize-fixtures/makefile index 7aae1d20f3d..45a7c80465a 100644 --- a/extensions/make/test/colorize-fixtures/makefile +++ b/extensions/make/test/colorize-fixtures/makefile @@ -76,6 +76,7 @@ var:=123 var!=echo val var:=val \ notvar=butval +var:=$(val:.c=.o) var-$(nested-var)=val diff --git a/extensions/make/test/colorize-results/makefile.json b/extensions/make/test/colorize-results/makefile.json index 9f977fcf5f8..616de8fb8e0 100644 --- a/extensions/make/test/colorize-results/makefile.json +++ b/extensions/make/test/colorize-results/makefile.json @@ -3046,6 +3046,61 @@ "hc_black": "default: #FFFFFF" } }, + { + "c": "var", + "t": "source.makefile variable.other.makefile", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "variable: #9CDCFE" + } + }, + { + "c": ":=", + "t": "source.makefile punctuation.separator.key-value.makefile", + "r": { + "dark_plus": "default: #D4D4D4", + "light_plus": "default: #000000", + "dark_vs": "default: #D4D4D4", + "light_vs": "default: #000000", + "hc_black": "default: #FFFFFF" + } + }, + { + "c": "$(", + "t": "source.makefile string.interpolated.makefile punctuation.definition.variable.makefile", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178" + } + }, + { + "c": "val:.c=.o", + "t": "source.makefile string.interpolated.makefile variable.other.makefile", + "r": { + "dark_plus": "variable: #9CDCFE", + "light_plus": "variable: #001080", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "variable: #9CDCFE" + } + }, + { + "c": ")", + "t": "source.makefile string.interpolated.makefile punctuation.definition.variable.makefile", + "r": { + "dark_plus": "string: #CE9178", + "light_plus": "string: #A31515", + "dark_vs": "string: #CE9178", + "light_vs": "string: #A31515", + "hc_black": "string: #CE9178" + } + }, { "c": "var-", "t": "source.makefile variable.other.makefile",