Skip to content

Commit fdf62a0

Browse files
authored
Add new Makefile test case for upgraded syntax rules (microsoft#101719)
1 parent db0d3f0 commit fdf62a0

2 files changed

Lines changed: 68 additions & 0 deletions

File tree

extensions/make/test/colorize-fixtures/makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,5 @@ var-$(nested-var)=val
8484
# but not so much.
8585
var-$(shell printf 2) := val2
8686
$(info Should be 'val2' here: $(var-2))
87+
88+
export a ?= b:c

extensions/make/test/colorize-results/makefile.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3353,5 +3353,71 @@
33533353
"light_vs": "string: #A31515",
33543354
"hc_black": "string: #CE9178"
33553355
}
3356+
},
3357+
{
3358+
"c": "export",
3359+
"t": "source.makefile keyword.control.export.makefile",
3360+
"r": {
3361+
"dark_plus": "keyword.control: #C586C0",
3362+
"light_plus": "keyword.control: #AF00DB",
3363+
"dark_vs": "keyword.control: #569CD6",
3364+
"light_vs": "keyword.control: #0000FF",
3365+
"hc_black": "keyword.control: #C586C0"
3366+
}
3367+
},
3368+
{
3369+
"c": " ",
3370+
"t": "source.makefile",
3371+
"r": {
3372+
"dark_plus": "default: #D4D4D4",
3373+
"light_plus": "default: #000000",
3374+
"dark_vs": "default: #D4D4D4",
3375+
"light_vs": "default: #000000",
3376+
"hc_black": "default: #FFFFFF"
3377+
}
3378+
},
3379+
{
3380+
"c": "a",
3381+
"t": "source.makefile variable.other.makefile",
3382+
"r": {
3383+
"dark_plus": "variable: #9CDCFE",
3384+
"light_plus": "variable: #001080",
3385+
"dark_vs": "default: #D4D4D4",
3386+
"light_vs": "default: #000000",
3387+
"hc_black": "variable: #9CDCFE"
3388+
}
3389+
},
3390+
{
3391+
"c": " ",
3392+
"t": "source.makefile",
3393+
"r": {
3394+
"dark_plus": "default: #D4D4D4",
3395+
"light_plus": "default: #000000",
3396+
"dark_vs": "default: #D4D4D4",
3397+
"light_vs": "default: #000000",
3398+
"hc_black": "default: #FFFFFF"
3399+
}
3400+
},
3401+
{
3402+
"c": "?=",
3403+
"t": "source.makefile punctuation.separator.key-value.makefile",
3404+
"r": {
3405+
"dark_plus": "default: #D4D4D4",
3406+
"light_plus": "default: #000000",
3407+
"dark_vs": "default: #D4D4D4",
3408+
"light_vs": "default: #000000",
3409+
"hc_black": "default: #FFFFFF"
3410+
}
3411+
},
3412+
{
3413+
"c": " b:c",
3414+
"t": "source.makefile",
3415+
"r": {
3416+
"dark_plus": "default: #D4D4D4",
3417+
"light_plus": "default: #000000",
3418+
"dark_vs": "default: #D4D4D4",
3419+
"light_vs": "default: #000000",
3420+
"hc_black": "default: #FFFFFF"
3421+
}
33563422
}
33573423
]

0 commit comments

Comments
 (0)