Skip to content

Commit

Permalink
Makefile testcase for updated scheme to support the following: var:=$…
Browse files Browse the repository at this point in the history
…(val:.c=.o) (#83121)
  • Loading branch information
fadeevab authored and alexr00 committed Oct 23, 2019
1 parent a0a7445 commit 7ee0e02
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions extensions/make/test/colorize-fixtures/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ var:=123
var!=echo val
var:=val \
notvar=butval
var:=$(val:.c=.o)
var-$(nested-var)=val
Expand Down
55 changes: 55 additions & 0 deletions extensions/make/test/colorize-results/makefile.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7ee0e02

Please sign in to comment.