Skip to content

Commit 0c1f654

Browse files
fix(gml) identical variant scopes
1 parent 7030375 commit 0c1f654

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/languages/gml.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -1172,11 +1172,11 @@ export default function(hljs) {
11721172
* Various types of strings supported in the engine.
11731173
*/
11741174
const STRING = {
1175+
scope: "string",
11751176
variants: [
11761177
{
11771178
begin: /\$"/,
11781179
end: /\"/,
1179-
scope: "string",
11801180
relevance: 10,
11811181
illegal: /\n/,
11821182
contains: [
@@ -1185,20 +1185,17 @@ export default function(hljs) {
11851185
]
11861186
},
11871187
{
1188-
scope: "string",
11891188
begin: "@'",
11901189
end: "'",
11911190
relevance: 10,
11921191
contains: [STRING_NUMERICAL_SUBSTITUTION]
11931192
},
11941193
{
1195-
scope: "string",
11961194
begin: "@\"",
11971195
end: "\"",
11981196
contains: [STRING_NUMERICAL_SUBSTITUTION]
11991197
},
12001198
{
1201-
scope: "string",
12021199
begin: /"/,
12031200
end: /"/,
12041201
illegal: /\n/,

0 commit comments

Comments
 (0)